Click here to Skip to main content
15,905,504 members
Home / Discussions / C#
   

C#

 
AnswerRe: Placeholders with SQL statement Pin
Luc Pattyn3-May-10 10:03
sitebuilderLuc Pattyn3-May-10 10:03 
I strongly suggest you don't construct query strings like that; instead use SQLParameter to provide your parameter values. It is easier as it reduces the trouble you would have with special characters in string literals, and the trouble with datetime formatting; and it is much safer, as it protects you against SQL Injection attacks.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

Prolific encyclopedia fixture proof-reader browser patron addict?
We all depend on the beast below.


GeneralRe: Placeholders with SQL statement Pin
Terence van Schalkwyk3-May-10 10:09
Terence van Schalkwyk3-May-10 10:09 
GeneralRe: Placeholders with SQL statement Pin
Pete O'Hanlon3-May-10 11:21
mvePete O'Hanlon3-May-10 11:21 
QuestionClass Instantiation when to use/or not Pin
mprice2143-May-10 9:00
mprice2143-May-10 9:00 
AnswerRe: Class Instantiation when to use/or not Pin
Richard MacCutchan3-May-10 9:45
mveRichard MacCutchan3-May-10 9:45 
GeneralRe: Class Instantiation when to use/or not Pin
mprice2143-May-10 10:41
mprice2143-May-10 10:41 
GeneralRe: Class Instantiation when to use/or not PinPopular
Luc Pattyn3-May-10 12:44
sitebuilderLuc Pattyn3-May-10 12:44 
GeneralRe: Class Instantiation when to use/or not Pin
mprice2144-May-10 3:19
mprice2144-May-10 3:19 
GeneralRe: Class Instantiation when to use/or not Pin
Luc Pattyn4-May-10 3:29
sitebuilderLuc Pattyn4-May-10 3:29 
GeneralRe: Class Instantiation when to use/or not Pin
Richard MacCutchan3-May-10 22:29
mveRichard MacCutchan3-May-10 22:29 
Questiongraphic examples in C # Pin
jack_cia3-May-10 7:43
jack_cia3-May-10 7:43 
AnswerRe: graphic examples in C # Pin
#realJSOP3-May-10 7:54
professional#realJSOP3-May-10 7:54 
AnswerRe: graphic examples in C # Pin
Luc Pattyn3-May-10 8:42
sitebuilderLuc Pattyn3-May-10 8:42 
GeneralRe: graphic examples in C # Pin
dj20783-May-10 17:22
dj20783-May-10 17:22 
GeneralRe: graphic examples in C # Pin
Luc Pattyn3-May-10 17:33
sitebuilderLuc Pattyn3-May-10 17:33 
AnswerRe: graphic examples in C # Pin
yu-jian4-May-10 3:37
yu-jian4-May-10 3:37 
QuestionGet XmlElement of a property in a XmlSerializable-Class Pin
flitzpiepe23-May-10 5:46
flitzpiepe23-May-10 5:46 
AnswerRe: Get XmlElement of a property in a XmlSerializable-Class Pin
T M Gray3-May-10 11:59
T M Gray3-May-10 11:59 
GeneralRe: Get XmlElement of a property in a XmlSerializable-Class Pin
flitzpiepe23-May-10 20:47
flitzpiepe23-May-10 20:47 
QuestionLeft Top Ruler C# Pin
jojoba20113-May-10 5:27
jojoba20113-May-10 5:27 
AnswerRe: Left Top Ruler C# Pin
Pete O'Hanlon3-May-10 6:01
mvePete O'Hanlon3-May-10 6:01 
QuestionNeed to write a file to a server farm that is locked down by a ProcessID - this can't be THAT hard Pin
Alaric_3-May-10 5:02
professionalAlaric_3-May-10 5:02 
AnswerRe: Need to write a file to a server farm that is locked down by a ProcessID - this can't be THAT hard Pin
Michel Godfroid3-May-10 10:39
Michel Godfroid3-May-10 10:39 
GeneralRe: Need to write a file to a server farm that is locked down by a ProcessID - this can't be THAT hard Pin
Alaric_4-May-10 7:42
professionalAlaric_4-May-10 7:42 
AnswerRe: Need to write a file to a server farm that is locked down by a ProcessID - this can't be THAT hard Pin
Alaric_4-May-10 6:59
professionalAlaric_4-May-10 6:59 

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.