Click here to Skip to main content
15,910,981 members
Home / Discussions / C#
   

C#

 
QuestionShouldnt this work? Pin
David Reeves27-Apr-16 12:25
David Reeves27-Apr-16 12:25 
AnswerRe: Shouldnt this work? Pin
Dave Kreskowiak27-Apr-16 13:54
mveDave Kreskowiak27-Apr-16 13:54 
This is where you learn to use the debugger. Set a breakpoint on the if statement and inspect the contents of the strFromCombobox varaible. The debugger is there to show you how the code actually works instead of you guessing at it.

We really can't tell you why it fails because we can't see the contents of that variable. What every it is, it's matching content in Column1 of every row.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

AnswerRe: Shouldnt this work? Pin
Brisingr Aerowing27-Apr-16 14:21
professionalBrisingr Aerowing27-Apr-16 14:21 
GeneralRe: Shouldnt this work? Pin
David Reeves27-Apr-16 14:40
David Reeves27-Apr-16 14:40 
GeneralRe: Shouldnt this work? Pin
Philippe Mori27-Apr-16 15:57
Philippe Mori27-Apr-16 15:57 
GeneralRe: Shouldnt this work? Pin
Sascha Lefèvre27-Apr-16 21:27
professionalSascha Lefèvre27-Apr-16 21:27 
GeneralRe: Shouldnt this work? Pin
David Reeves28-Apr-16 1:18
David Reeves28-Apr-16 1:18 
QuestionUsing a scripting language in a C# exe Pin
Foothill27-Apr-16 8:37
professionalFoothill27-Apr-16 8:37 
AnswerRe: Using a scripting language in a C# exe Pin
Pete O'Hanlon27-Apr-16 9:22
mvePete O'Hanlon27-Apr-16 9:22 
GeneralRe: Using a scripting language in a C# exe Pin
Foothill27-Apr-16 9:41
professionalFoothill27-Apr-16 9:41 
AnswerRe: Using a scripting language in a C# exe Pin
Sascha Lefèvre27-Apr-16 10:05
professionalSascha Lefèvre27-Apr-16 10:05 
GeneralRe: Using a scripting language in a C# exe Pin
Foothill27-Apr-16 11:19
professionalFoothill27-Apr-16 11:19 
GeneralRe: Using a scripting language in a C# exe Pin
Brisingr Aerowing27-Apr-16 17:24
professionalBrisingr Aerowing27-Apr-16 17:24 
AnswerRe: Using a scripting language in a C# exe Pin
Brisingr Aerowing27-Apr-16 17:31
professionalBrisingr Aerowing27-Apr-16 17:31 
GeneralRe: Using a scripting language in a C# exe Pin
Foothill28-Apr-16 3:23
professionalFoothill28-Apr-16 3:23 
GeneralRe: Using a scripting language in a C# exe Pin
Brisingr Aerowing28-Apr-16 7:46
professionalBrisingr Aerowing28-Apr-16 7:46 
AnswerRe: Using a scripting language in a C# exe Pin
BillWoodruff27-Apr-16 20:13
professionalBillWoodruff27-Apr-16 20:13 
GeneralRe: Using a scripting language in a C# exe Pin
Foothill28-Apr-16 3:31
professionalFoothill28-Apr-16 3:31 
QuestionChart Generating Tool Pin
gopichand.n26-Apr-16 23:45
gopichand.n26-Apr-16 23:45 
QuestionRe: Chart Generating Tool Pin
Richard MacCutchan26-Apr-16 23:57
mveRichard MacCutchan26-Apr-16 23:57 
AnswerRe: Chart Generating Tool Pin
gopichand.n27-Apr-16 1:56
gopichand.n27-Apr-16 1:56 
GeneralRe: Chart Generating Tool Pin
Richard MacCutchan27-Apr-16 2:09
mveRichard MacCutchan27-Apr-16 2:09 
GeneralRe: Chart Generating Tool Pin
gopichand.n3-May-16 1:39
gopichand.n3-May-16 1:39 
GeneralRe: Chart Generating Tool Pin
Richard MacCutchan3-May-16 2:34
mveRichard MacCutchan3-May-16 2:34 
QuestionC# Pin
Member 1248659326-Apr-16 7:45
Member 1248659326-Apr-16 7:45 

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.