Click here to Skip to main content
15,868,164 members
Home / Discussions / C#
   

C#

 
GeneralRe: I'm get confusing and A state of mental distractions I can not understand the error.....code bellow...for trans data from sql database to another Pin
Member 1289974625-Dec-16 21:37
Member 1289974625-Dec-16 21:37 
GeneralRe: I'm get confusing and A state of mental distractions I can not understand the error.....code bellow...for trans data from sql database to another Pin
OriginalGriff25-Dec-16 21:49
mveOriginalGriff25-Dec-16 21:49 
GeneralRe: I'm get confusing and A state of mental distractions I can not understand the error.....code bellow...for trans data from sql database to another Pin
Member 1289974625-Dec-16 21:59
Member 1289974625-Dec-16 21:59 
GeneralRe: I'm get confusing and A state of mental distractions I can not understand the error.....code bellow...for trans data from sql database to another Pin
OriginalGriff25-Dec-16 22:00
mveOriginalGriff25-Dec-16 22:00 
GeneralRe:I can not understand the error.....code bellow...for trans data from sql database to another Pin
Member 1289974625-Dec-16 22:46
Member 1289974625-Dec-16 22:46 
GeneralRe:I can not understand the error.....code bellow...for trans data from sql database to another Pin
OriginalGriff25-Dec-16 23:00
mveOriginalGriff25-Dec-16 23:00 
GeneralRe:I can not understand the error.....code bellow...for trans data from sql database to another Pin
Member 1289974625-Dec-16 23:24
Member 1289974625-Dec-16 23:24 
GeneralRe:I can not understand the error.....code bellow...for trans data from sql database to another Pin
OriginalGriff25-Dec-16 23:41
mveOriginalGriff25-Dec-16 23:41 
The problem is that you aren't thinking about what is going on here: the value you are casting to a bool is not a bool value, so the cast fails: that can't be "fixed" at that point - you need to find out what it actually is and why it isn't the value you are expecting.
And the only way to do that is to use the debugger while your code is running and look at what the actual data looks like. No amount of code I could give you would fix that - because either the index is wrong, the data is wrong, the table isn't organised as you think it is, or it's totally the wrong table.
We can't tell you which of those: but the debugger probably can almost instantly!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: I can not understand the error.....code bellow...for trans data from sql database to another Pin
Gerry Schmitz26-Dec-16 6:01
mveGerry Schmitz26-Dec-16 6:01 
QuestionThe programming webcam with Visual Studio standard library ? Pin
Member 245846725-Dec-16 19:42
Member 245846725-Dec-16 19:42 
AnswerRe: The programming webcam with Visual Studio standard library ? Pin
Richard MacCutchan25-Dec-16 20:38
mveRichard MacCutchan25-Dec-16 20:38 
GeneralRe: The programming webcam with Visual Studio standard library ? Pin
Member 245846728-Dec-16 15:51
Member 245846728-Dec-16 15:51 
QuestionC# Database Question and Answers Connect Pin
Pavlex425-Dec-16 3:36
Pavlex425-Dec-16 3:36 
AnswerRe: C# Database Question and Answers Connect Pin
Richard Andrew x6425-Dec-16 5:24
professionalRichard Andrew x6425-Dec-16 5:24 
GeneralRe: C# Database Question and Answers Connect Pin
Pavlex425-Dec-16 7:02
Pavlex425-Dec-16 7:02 
GeneralRe: C# Database Question and Answers Connect Pin
Pete O'Hanlon25-Dec-16 9:57
subeditorPete O'Hanlon25-Dec-16 9:57 
GeneralRe: C# Database Question and Answers Connect Pin
Pavlex426-Dec-16 7:39
Pavlex426-Dec-16 7:39 
GeneralRe: C# Database Question and Answers Connect Pin
Pete O'Hanlon27-Dec-16 22:24
subeditorPete O'Hanlon27-Dec-16 22:24 
QuestionC# Read from text file Pin
Pavlex423-Dec-16 21:16
Pavlex423-Dec-16 21:16 
AnswerRe: C# Read from text file Pin
Michael_Davies23-Dec-16 21:29
Michael_Davies23-Dec-16 21:29 
AnswerRe: C# Read from text file Pin
OriginalGriff23-Dec-16 21:34
mveOriginalGriff23-Dec-16 21:34 
GeneralRe: C# Read from text file Pin
Pavlex423-Dec-16 21:40
Pavlex423-Dec-16 21:40 
AnswerRe: C# Read from text file Pin
Midi_Mick23-Dec-16 21:41
professionalMidi_Mick23-Dec-16 21:41 
GeneralRe: C# Read from text file Pin
Pavlex423-Dec-16 21:53
Pavlex423-Dec-16 21:53 
GeneralRe: C# Read from text file Pin
Midi_Mick23-Dec-16 22:09
professionalMidi_Mick23-Dec-16 22:09 

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.