Click here to Skip to main content
15,913,610 members
Home / Discussions / C#
   

C#

 
QuestionIntPtr to Delegate in .NET 1.1 Pin
__DanC__5-Nov-07 6:42
__DanC__5-Nov-07 6:42 
AnswerRe: IntPtr to Delegate in .NET 1.1 Pin
Judah Gabriel Himango5-Nov-07 7:11
sponsorJudah Gabriel Himango5-Nov-07 7:11 
GeneralRe: IntPtr to Delegate in .NET 1.1 Pin
__DanC__5-Nov-07 22:03
__DanC__5-Nov-07 22:03 
GeneralRe: IntPtr to Delegate in .NET 1.1 Pin
Judah Gabriel Himango6-Nov-07 3:54
sponsorJudah Gabriel Himango6-Nov-07 3:54 
GeneralRe: IntPtr to Delegate in .NET 1.1 Pin
__DanC__6-Nov-07 4:01
__DanC__6-Nov-07 4:01 
GeneralRe: IntPtr to Delegate in .NET 1.1 Pin
Judah Gabriel Himango6-Nov-07 5:14
sponsorJudah Gabriel Himango6-Nov-07 5:14 
Question(WPF)Navigating with windows and custom controls? [modified] Pin
wolfshad35-Nov-07 6:34
wolfshad35-Nov-07 6:34 
AnswerRe: (WPF)Navigating with windows and custom controls? Pin
Judah Gabriel Himango5-Nov-07 7:14
sponsorJudah Gabriel Himango5-Nov-07 7:14 
GeneralRe: (WPF)Navigating with windows and custom controls? Pin
wolfshad35-Nov-07 20:03
wolfshad35-Nov-07 20:03 
QuestionYahoo mail Pin
mihksoft5-Nov-07 6:13
mihksoft5-Nov-07 6:13 
AnswerRe: Yahoo mail Pin
Judah Gabriel Himango5-Nov-07 7:13
sponsorJudah Gabriel Himango5-Nov-07 7:13 
QuestionC# and simple SOAP Pin
AssemblySoft5-Nov-07 6:00
AssemblySoft5-Nov-07 6:00 
Answercross-post Pin
led mike5-Nov-07 8:30
led mike5-Nov-07 8:30 
GeneralRe: cross-post Pin
AssemblySoft5-Nov-07 10:24
AssemblySoft5-Nov-07 10:24 
GeneralRe: cross-post Pin
led mike6-Nov-07 3:56
led mike6-Nov-07 3:56 
GeneralRe: cross-post Pin
AssemblySoft6-Nov-07 5:19
AssemblySoft6-Nov-07 5:19 
GeneralRe: cross-post Pin
led mike6-Nov-07 5:40
led mike6-Nov-07 5:40 
GeneralRe: cross-post Pin
AssemblySoft6-Nov-07 5:50
AssemblySoft6-Nov-07 5:50 
GeneralRe: cross-post Pin
led mike6-Nov-07 6:07
led mike6-Nov-07 6:07 
GeneralRe: cross-post Pin
AssemblySoft6-Nov-07 6:17
AssemblySoft6-Nov-07 6:17 
GeneralRe: cross-post Pin
led mike6-Nov-07 10:32
led mike6-Nov-07 10:32 
AnswerRe: C# and simple SOAP Pin
Ennis Ray Lynch, Jr.5-Nov-07 9:56
Ennis Ray Lynch, Jr.5-Nov-07 9:56 
QuestionSQL Error converting data type varchar to numeric Pin
ortaparmak5-Nov-07 5:30
ortaparmak5-Nov-07 5:30 
AnswerRe: SQL Error converting data type varchar to numeric Pin
Rob Philpott5-Nov-07 5:53
Rob Philpott5-Nov-07 5:53 
GeneralRe: SQL Error converting data type varchar to numeric Pin
ortaparmak5-Nov-07 7:13
ortaparmak5-Nov-07 7:13 
Hello Rob,
Thanks for helping me. You're right about all your comments. I have removed single quotes but this time I get another exception telling me there are more fields in VALUES than there is in INSERT. I checked what is sent to SQL, it is as follows:

INSERT INTO Jobs (ProjectID, FileName, SourceLanguage, TargetLanguage, Type, CharCount, PageCount, ApplicableRate, QuotedOn) VALUES (34058, 'D:\UI\Projects\2007\34058 (Company)\Some Document.doc', 0, 1, 1, 71325, 71,325, 25, '05.11.2007 19:56:19'); SELECT SCOPE_IDENTITY();

As you can see 71.325 is written as 71,325 and I suspect SQL is translating this as 71 for one field and 325 for another field; thus there is more VALUES than INSERTs...

PS: once I get this running, I'll optimize it and I took note of your comments about huge string and readibility

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.