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

C#

 
AnswerRe: Object Pin
ednrgc10-Jan-07 4:32
ednrgc10-Jan-07 4:32 
AnswerRe: Object Pin
Ravi Bhavnani10-Jan-07 4:33
professionalRavi Bhavnani10-Jan-07 4:33 
AnswerRe: Object Pin
Colin Angus Mackay10-Jan-07 4:34
Colin Angus Mackay10-Jan-07 4:34 
QuestionTrouble in parameter! Pin
nclauder10-Jan-07 4:04
nclauder10-Jan-07 4:04 
AnswerRe: Trouble in parameter! Pin
Colin Angus Mackay10-Jan-07 4:17
Colin Angus Mackay10-Jan-07 4:17 
AnswerRe: Trouble in parameter! Pin
Alaric_10-Jan-07 7:09
professionalAlaric_10-Jan-07 7:09 
GeneralRe: Trouble in parameter! Pin
Colin Angus Mackay10-Jan-07 10:20
Colin Angus Mackay10-Jan-07 10:20 
GeneralRe: Trouble in parameter! [modified] Pin
Alaric_10-Jan-07 10:42
professionalAlaric_10-Jan-07 10:42 
fixes that...but not quite what you want


...I guess you missed that line. I was advising on syntax. ....Baby steps.


-- modified at 16:50 Wednesday 10th January, 2007

Should be read: Just because I didn't provide information extraneous to the request doesn't mean that I don't know about it.:-> If he would have asked something along the lines of, 'Is this safe?' then I would have given him suggestions on scrubbing his data. ...Another thing, how do you know that his data wasn't scrubbed before the query was specified? I do character validation at the input level to disable invalid input and for any of the text fields that I know are going to be sent through to a query, I send through my SQL formatter. The document you suggested is good for raising discussion but by no means is it perfect. He'll learn about securing his database in his 300 level dba classes. To make the whole thing completely copacetic, I should have suggested something more along the lines of
"SELECT * from isp_email.staff where @id like" + db.ToSQL(txtname.Text);


...happy? (*Note* Remember that it's still not right because he misused the parameter)
QuestionCheck for Filesystem Type NTFS / FAT .NET 1.1 [modified] Pin
Thomas Mihatsch10-Jan-07 3:49
Thomas Mihatsch10-Jan-07 3:49 
AnswerRe: Check for Filesystem Type NTFS / FAT Pin
jarellan10-Jan-07 3:51
jarellan10-Jan-07 3:51 
QuestionStreamWriter reuse? Pin
jarellan10-Jan-07 3:35
jarellan10-Jan-07 3:35 
AnswerRe: StreamWriter reuse? Pin
Guffa10-Jan-07 4:00
Guffa10-Jan-07 4:00 
GeneralRe: StreamWriter reuse? Pin
jarellan10-Jan-07 4:16
jarellan10-Jan-07 4:16 
GeneralRe: StreamWriter reuse? Pin
Colin Angus Mackay10-Jan-07 4:30
Colin Angus Mackay10-Jan-07 4:30 
GeneralRe: StreamWriter reuse? Pin
jarellan10-Jan-07 4:56
jarellan10-Jan-07 4:56 
AnswerRe: StreamWriter reuse? Pin
Guffa10-Jan-07 13:56
Guffa10-Jan-07 13:56 
GeneralRe: StreamWriter reuse? Pin
jarellan10-Jan-07 20:23
jarellan10-Jan-07 20:23 
Questionreading characters C# Pin
netJP12L10-Jan-07 3:32
netJP12L10-Jan-07 3:32 
AnswerRe: reading characters C# Pin
Not Active10-Jan-07 3:40
mentorNot Active10-Jan-07 3:40 
AnswerRe: reading characters C# Pin
Martin#10-Jan-07 3:42
Martin#10-Jan-07 3:42 
AnswerRe: reading characters C# [modified] Pin
Guffa10-Jan-07 4:02
Guffa10-Jan-07 4:02 
GeneralRe: reading characters C# Pin
netJP12L10-Jan-07 8:27
netJP12L10-Jan-07 8:27 
GeneralRe: reading characters C# Pin
Alaric_10-Jan-07 8:46
professionalAlaric_10-Jan-07 8:46 
AnswerRe: reading characters C# Pin
Guffa10-Jan-07 13:23
Guffa10-Jan-07 13:23 
GeneralRe: reading characters C# Pin
Alaric_10-Jan-07 14:20
professionalAlaric_10-Jan-07 14:20 

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.