Click here to Skip to main content
15,915,600 members
Home / Discussions / C#
   

C#

 
GeneralRe: Exception variable never used Pin
Dave Kreskowiak7-Jun-04 11:57
mveDave Kreskowiak7-Jun-04 11:57 
GeneralRe: Exception variable never used Pin
leppie7-Jun-04 12:54
leppie7-Jun-04 12:54 
GeneralUsing variable in Values for SQL insert Pin
kv_ajay7-Jun-04 8:40
kv_ajay7-Jun-04 8:40 
GeneralRe: Using variable in Values for SQL insert Pin
Alvaro Mendez7-Jun-04 8:55
Alvaro Mendez7-Jun-04 8:55 
GeneralRe: Using variable in Values for SQL insert Pin
Anonymous7-Jun-04 9:47
Anonymous7-Jun-04 9:47 
GeneralRe: Using variable in Values for SQL insert Pin
Dave Kreskowiak7-Jun-04 9:55
mveDave Kreskowiak7-Jun-04 9:55 
GeneralRe: Using variable in Values for SQL insert Pin
Anonymous7-Jun-04 10:06
Anonymous7-Jun-04 10:06 
GeneralRe: Using variable in Values for SQL insert Pin
Dave Kreskowiak7-Jun-04 10:13
mveDave Kreskowiak7-Jun-04 10:13 
Like I said... Parameterized queries would have fixed this problem from day 1. Using the parameterized version, you don't have to worry about how the strings are escaped in the SQL statement and if there are any special characters in the string that you pass that will screw up the statement syntax. All of that is handled for you, automatically!
There is no reason to NOT use them!

Everything we told you will work under normal circumstances. There is something else you're not telling us, that may seem like a small detail that doesn't mean anything, but makes one hell of a difference to SQL.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Using variable in Values for SQL insert Pin
Anonymous7-Jun-04 10:36
Anonymous7-Jun-04 10:36 
GeneralRe: Using variable in Values for SQL insert Pin
Heath Stewart7-Jun-04 11:23
protectorHeath Stewart7-Jun-04 11:23 
GeneralReadFileEx OVERLAPPED LocalAlloc wows Pin
gdwinslow7-Jun-04 8:03
gdwinslow7-Jun-04 8:03 
GeneralRe: ReadFileEx OVERLAPPED LocalAlloc wows Pin
Heath Stewart7-Jun-04 11:19
protectorHeath Stewart7-Jun-04 11:19 
GeneralRe: ReadFileEx OVERLAPPED LocalAlloc wows Pin
gdwinslow7-Jun-04 16:23
gdwinslow7-Jun-04 16:23 
GeneralRe: ReadFileEx OVERLAPPED LocalAlloc wows Pin
Heath Stewart8-Jun-04 2:55
protectorHeath Stewart8-Jun-04 2:55 
GeneralRe: ReadFileEx OVERLAPPED LocalAlloc wows Pin
Guy Winslow8-Jun-04 11:17
Guy Winslow8-Jun-04 11:17 
GeneralRe: ReadFileEx OVERLAPPED LocalAlloc wows Pin
Heath Stewart8-Jun-04 11:26
protectorHeath Stewart8-Jun-04 11:26 
GeneralRe: ReadFileEx OVERLAPPED LocalAlloc wows Pin
Guy Winslow8-Jun-04 12:42
Guy Winslow8-Jun-04 12:42 
GeneralRe: ReadFileEx OVERLAPPED LocalAlloc wows Pin
Heath Stewart8-Jun-04 17:15
protectorHeath Stewart8-Jun-04 17:15 
Generalsql server ce 2.0, image data type Pin
khchan7-Jun-04 6:45
khchan7-Jun-04 6:45 
GeneralRe: sql server ce 2.0, image data type Pin
Heath Stewart7-Jun-04 6:51
protectorHeath Stewart7-Jun-04 6:51 
GeneralHardcoded filepaths c# Pin
frank217-Jun-04 6:34
frank217-Jun-04 6:34 
GeneralRe: Hardcoded filepaths c# Pin
Heath Stewart7-Jun-04 6:44
protectorHeath Stewart7-Jun-04 6:44 
Generaldataset update on form closing Pin
C#Coder677-Jun-04 6:07
C#Coder677-Jun-04 6:07 
GeneralRe: dataset update on form closing Pin
Heath Stewart7-Jun-04 6:16
protectorHeath Stewart7-Jun-04 6:16 
GeneralVS2K3 doesn't copy file reference Pin
CBoland7-Jun-04 5:58
CBoland7-Jun-04 5:58 

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.