Click here to Skip to main content
15,889,462 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: vb vs c# variables in sql query strings Pin
Rafone24-Sep-08 10:41
Rafone24-Sep-08 10:41 
Thanks to all who replied.
I found the error. my bad the code in VB had dbl quote then single quote. Apparently that has worked fine for years. In fact it worked fine on my development box. However once the code was starting through the conversion and being run on a test box we starting seeing the error.
I finally realized the the syntax should be single quote then dbl quote it all works fine.
This is a large scale project and these apps that I am upgrading only query for data in the Intranet. There is no writing back to the database.
Thanks for the info. I was really asking for some "best practices" info from you guys...thanks again

Rafone

Statistics are like bikini's...
What they reveal is astonishing ...
But what they hide is vital ...

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 
AnswerRe: How to delete the nth line of a text file? Pin
Bliedtke22-Sep-08 18:26
Bliedtke22-Sep-08 18:26 
AnswerRe: How to delete the nth line of a text file? Pin
PIEBALDconsult22-Sep-08 18:35
mvePIEBALDconsult22-Sep-08 18:35 
GeneralRe: How to delete the nth line of a text file? Pin
Crul2323-Sep-08 4:34
Crul2323-Sep-08 4:34 
GeneralRe: How to delete the nth line of a text file? Pin
cpkilekofp25-Sep-08 10:05
cpkilekofp25-Sep-08 10:05 
QuestionGUI for configuring options in a "Settings" file (beyond the property grid) Pin
blak3r22-Sep-08 10:00
blak3r22-Sep-08 10:00 
QuestionVc++ & .net Application Terminated Unusually Pin
balu1234522-Sep-08 9:13
balu1234522-Sep-08 9:13 
AnswerCross-post Pin
Wendelius23-Sep-08 8:35
mentorWendelius23-Sep-08 8:35 
Questionadding item to listbox Pin
netJP12L22-Sep-08 8:52
netJP12L22-Sep-08 8:52 
AnswerRe: adding item to listbox Pin
Wendelius22-Sep-08 10:24
mentorWendelius22-Sep-08 10: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.