Click here to Skip to main content
15,909,747 members
Home / Discussions / C#
   

C#

 
GeneralRe: sQL with C# update question Pin
Christian Graus21-Aug-07 17:19
protectorChristian Graus21-Aug-07 17:19 
GeneralRe: sQL with C# update question Pin
falles0122-Aug-07 13:16
falles0122-Aug-07 13:16 
GeneralRe: sQL with C# update question Pin
Christian Graus23-Aug-07 13:44
protectorChristian Graus23-Aug-07 13:44 
GeneralRe: sQL with C# update question Pin
falles0123-Aug-07 14:03
falles0123-Aug-07 14:03 
GeneralRe: sQL with C# update question Pin
Christian Graus23-Aug-07 16:55
protectorChristian Graus23-Aug-07 16:55 
GeneralRe: sQL with C# update question Pin
falles0122-Aug-07 13:18
falles0122-Aug-07 13:18 
GeneralRe: sQL with C# update question Pin
falles0121-Aug-07 13:58
falles0121-Aug-07 13:58 
GeneralRe: sQL with C# update question Pin
Christian Graus21-Aug-07 16:58
protectorChristian Graus21-Aug-07 16:58 
Yes, this is a disaster.

First of all, if you're in another method, then the string you want is going to be what you passed in, not the exact same code which references a control that doesn't exist on this page.

Second, your code is completely insecure, and your database is compromised. You need to read up on SQL injections. Except, you say you've been programming for 2 months, so unless this is a class assignment ( which doesn't sound likely ), you should not be working on this at all.


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

AnswerRe: sQL with C# update question Pin
Nouman Bhatti21-Aug-07 21:05
Nouman Bhatti21-Aug-07 21:05 
GeneralRe: sQL with C# update question Pin
Christian Graus21-Aug-07 21:51
protectorChristian Graus21-Aug-07 21:51 
QuestionCannot Update ColumnNames in Dataset......which is Directly populated by Excel Pin
T4AMD21-Aug-07 13:29
T4AMD21-Aug-07 13:29 
QuestionCapturing WebCams Pin
Demian Panello21-Aug-07 11:44
Demian Panello21-Aug-07 11:44 
QuestionProblem in deleting an image associated with a picturebox... Pin
aravinda77721-Aug-07 9:39
aravinda77721-Aug-07 9:39 
AnswerRe: Problem in deleting an image associated with a picturebox... Pin
Christian Graus21-Aug-07 11:14
protectorChristian Graus21-Aug-07 11:14 
GeneralRe: Problem in deleting an image associated with a picturebox... Pin
aravinda77721-Aug-07 19:52
aravinda77721-Aug-07 19:52 
QuestionDataGridView focus Pin
tthellebuyck21-Aug-07 8:40
tthellebuyck21-Aug-07 8:40 
AnswerRe: DataGridView focus Pin
Hessam Jalali21-Aug-07 9:29
Hessam Jalali21-Aug-07 9:29 
Questiondata conversion problem Pin
elwoofy21-Aug-07 7:31
elwoofy21-Aug-07 7:31 
AnswerRe: data conversion problem Pin
Giorgi Dalakishvili21-Aug-07 7:41
mentorGiorgi Dalakishvili21-Aug-07 7:41 
GeneralRe: data conversion problem Pin
elwoofy21-Aug-07 9:24
elwoofy21-Aug-07 9:24 
GeneralRe: data conversion problem Pin
Giorgi Dalakishvili21-Aug-07 9:41
mentorGiorgi Dalakishvili21-Aug-07 9:41 
AnswerRe: data conversion problem Pin
Insincere Dave21-Aug-07 16:28
Insincere Dave21-Aug-07 16:28 
AnswerRe: data conversion problem Pin
elwoofy22-Aug-07 4:26
elwoofy22-Aug-07 4:26 
GeneralRe: data conversion problem Pin
Insincere Dave22-Aug-07 6:45
Insincere Dave22-Aug-07 6:45 
QuestionHow to check a string to see if it’s valid for use in creating a file name Pin
earlgraham21-Aug-07 7:24
earlgraham21-Aug-07 7:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.