Click here to Skip to main content
15,902,842 members
Home / Discussions / C#
   

C#

 
GeneralRe: WS-addressing Pin
George_George18-Jan-09 20:34
George_George18-Jan-09 20:34 
GeneralRe: WS-addressing Pin
choopie22-Jan-09 10:36
choopie22-Jan-09 10:36 
QuestionHelp me about "BeginGetResponse" hang when HTTP server generate an "500" error. Pin
liubin_aluzi22-Sep-08 20:28
liubin_aluzi22-Sep-08 20:28 
AnswerRe: Help me about "BeginGetResponse" hang when HTTP server generate an "500" error. Pin
liubin_aluzi22-Sep-08 20:52
liubin_aluzi22-Sep-08 20:52 
QuestionCapture and Save Image Pin
sirisha guttikonda22-Sep-08 19:43
sirisha guttikonda22-Sep-08 19:43 
AnswerRe: Capture and Save Image Pin
N a v a n e e t h22-Sep-08 19:54
N a v a n e e t h22-Sep-08 19:54 
AnswerRe: Capture and Save Image Pin
Harvey Saayman22-Sep-08 20:53
Harvey Saayman22-Sep-08 20:53 
GeneralRe: Capture and Save Image Pin
Monark23-Sep-08 15:00
Monark23-Sep-08 15:00 
GeneralRe: Capture and Save Image Pin
Harvey Saayman23-Sep-08 23:21
Harvey Saayman23-Sep-08 23:21 
Questionvb vs c# variables in sql query strings [reform my question] Pin
Rafone22-Sep-08 19:34
Rafone22-Sep-08 19:34 
AnswerRe: vb vs c# variables in sql query strings Pin
N a v a n e e t h22-Sep-08 19:57
N a v a n e e t h22-Sep-08 19:57 
AnswerRe: vb vs c# variables in sql query strings Pin
Nirandas22-Sep-08 20:43
Nirandas22-Sep-08 20:43 
GeneralRe: vb vs c# variables in sql query strings Pin
Rafone23-Sep-08 3:33
Rafone23-Sep-08 3:33 
GeneralRe: vb vs c# variables in sql query strings Pin
Nirandas23-Sep-08 4:10
Nirandas23-Sep-08 4:10 
GeneralRe: vb vs c# variables in sql query strings [modified] Pin
Rafone23-Sep-08 4:40
Rafone23-Sep-08 4:40 
GeneralRe: vb vs c# variables in sql query strings Pin
cpkilekofp24-Sep-08 7:16
cpkilekofp24-Sep-08 7:16 
Rafone wrote:
Is this the "new" way of doing this?


No, unless by new you mean "less than ten years old"...ADODB supports parameterized queries and parameters for stored procedures, and has ever since I started using it (around 1998). It's also been known for at least that long that building query strings using the method you've been working with is unsafe in Web applications due to the possibility of a SQL injection attack. Additionally, this technique is prone to the very error you are now experiencing. Except for an ad-hoc query engine, I would not use the old technique. Whoever the VB programmer was, he shouldn't have been allowed to keep his queries in this form. As to resources, try searching for "SQL parameters" or "parameterized queries" in Google or Live Search and see what comes back.
GeneralRe: vb vs c# variables in sql query strings Pin
Rafone24-Sep-08 10:41
Rafone24-Sep-08 10:41 
QuestionRotation of cube Pin
aurosikhadas22-Sep-08 19:21
aurosikhadas22-Sep-08 19:21 
AnswerRe: Rotation of cube Pin
Roger Alsing22-Sep-08 20:17
Roger Alsing22-Sep-08 20:17 
AnswerRe: Rotation of cube Pin
Harvey Saayman22-Sep-08 20:48
Harvey Saayman22-Sep-08 20:48 
AnswerRe: Rotation of cube Pin
Mark Churchill23-Sep-08 23:09
Mark Churchill23-Sep-08 23:09 
QuestionToolStripStatusLabel gets painted with background color of underlying form Pin
Bliedtke22-Sep-08 18:21
Bliedtke22-Sep-08 18:21 
QuestionUnable to get updated config at app.config? Pin
mimimimilaw22-Sep-08 17:53
mimimimilaw22-Sep-08 17:53 
AnswerRe: Unable to get updated config at app.config? Pin
Harvey Saayman22-Sep-08 20:59
Harvey Saayman22-Sep-08 20:59 
QuestionHow to delete the nth line of a text file? Pin
Crul2322-Sep-08 13:54
Crul2322-Sep-08 13:54 

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.