Click here to Skip to main content
15,896,207 members
Home / Discussions / C#
   

C#

 
GeneralRe: c# classes methods Pin
OriginalGriff20-Dec-15 19:53
mveOriginalGriff20-Dec-15 19:53 
AnswerRe: c# classes methods Pin
OriginalGriff20-Dec-15 19:58
mveOriginalGriff20-Dec-15 19:58 
AnswerRe: c# classes methods Pin
BillWoodruff20-Dec-15 23:42
professionalBillWoodruff20-Dec-15 23:42 
QuestionIncorrect syntax near ',' Pin
Member 1144944719-Dec-15 5:00
Member 1144944719-Dec-15 5:00 
AnswerRe: Incorrect syntax near ',' Pin
Dave Kreskowiak19-Dec-15 5:07
mveDave Kreskowiak19-Dec-15 5:07 
GeneralRe: Incorrect syntax near ',' Pin
Member 1144944719-Dec-15 10:18
Member 1144944719-Dec-15 10:18 
GeneralRe: Incorrect syntax near ',' Pin
Dave Kreskowiak19-Dec-15 11:48
mveDave Kreskowiak19-Dec-15 11:48 
GeneralRe: Incorrect syntax near ',' Pin
Foothill21-Dec-15 6:00
professionalFoothill21-Dec-15 6:00 
Dave is correct that is not the correct way to build a parameterized query in C#. However, if you want to know where your SQL statement was getting broken.

SQL
values (" + NIF + "', " + loja + "," + bloqueador + ",'" + DataFim + "','" + lastupdate + "','" + Nome + "')


When this query is parsed it will become

SQL
values(NIF',Loja,bloqueador,'DataFim','latupdate','Nome')


Can you spot the error?
if (Object.DividedByZero == true) { Universe.Implode(); }

GeneralRe: Incorrect syntax near ',' Pin
Dave Kreskowiak21-Dec-15 7:09
mveDave Kreskowiak21-Dec-15 7:09 
QuestionHow can I include house address finder in my application? Pin
naouf1019-Dec-15 3:21
naouf1019-Dec-15 3:21 
AnswerRe: How can I include house address finder in my application? Pin
OriginalGriff19-Dec-15 4:08
mveOriginalGriff19-Dec-15 4:08 
GeneralRe: How can I include house address finder in my application? Pin
Mycroft Holmes20-Dec-15 12:01
professionalMycroft Holmes20-Dec-15 12:01 
AnswerRe: How can I include house address finder in my application? Pin
Gerry Schmitz19-Dec-15 8:59
mveGerry Schmitz19-Dec-15 8:59 
GeneralRe: How can I include house address finder in my application? Pin
naouf1019-Dec-15 11:09
naouf1019-Dec-15 11:09 
GeneralRe: How can I include house address finder in my application? Pin
Gerry Schmitz19-Dec-15 12:01
mveGerry Schmitz19-Dec-15 12:01 
GeneralRe: How can I include house address finder in my application? Pin
naouf1020-Dec-15 2:22
naouf1020-Dec-15 2:22 
GeneralRe: How can I include house address finder in my application? Pin
jschell20-Dec-15 11:21
jschell20-Dec-15 11:21 
GeneralRe: How can I include house address finder in my application? Pin
naouf1021-Dec-15 1:56
naouf1021-Dec-15 1:56 
GeneralRe: How can I include house address finder in my application? Pin
jschell30-Dec-15 6:53
jschell30-Dec-15 6:53 
Questioncant run my C# program after installation - only if i Run as administrator Pin
goldsoft18-Dec-15 22:59
goldsoft18-Dec-15 22:59 
AnswerRe: cant run my C# program after installation - only if i Run as administrator Pin
Dave Kreskowiak19-Dec-15 4:18
mveDave Kreskowiak19-Dec-15 4:18 
QuestionRe: cant run my C# program after installation - only if i Run as administrator Pin
Richard MacCutchan19-Dec-15 21:15
mveRichard MacCutchan19-Dec-15 21:15 
QuestionStoring path of a selected Listbox File Pin
Member 1218422117-Dec-15 11:50
Member 1218422117-Dec-15 11:50 
AnswerRe: Storing path of a selected Listbox File Pin
Mycroft Holmes17-Dec-15 12:07
professionalMycroft Holmes17-Dec-15 12:07 
GeneralRe: Storing path of a selected Listbox File Pin
Member 1218422117-Dec-15 12:24
Member 1218422117-Dec-15 12: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.