Click here to Skip to main content
15,902,112 members
Home / Discussions / C#
   

C#

 
Questiondatagridview problem Pin
xenepp13-Nov-07 5:03
xenepp13-Nov-07 5:03 
Questiondatagridview checkbox not functioning Pin
arkiboys13-Nov-07 4:37
arkiboys13-Nov-07 4:37 
AnswerRe: datagridview checkbox not functioning Pin
led mike13-Nov-07 4:44
led mike13-Nov-07 4:44 
GeneralRe: datagridview checkbox not functioning Pin
arkiboys13-Nov-07 5:01
arkiboys13-Nov-07 5:01 
QuestionHow Do I Set a Combo Box Default Item? Pin
Jonso13-Nov-07 4:12
Jonso13-Nov-07 4:12 
AnswerRe: How Do I Set a Combo Box Default Item? Pin
Justin Perez13-Nov-07 4:23
Justin Perez13-Nov-07 4:23 
GeneralRe: How Do I Set a Combo Box Default Item? Pin
Jonso13-Nov-07 4:53
Jonso13-Nov-07 4:53 
GeneralRe: How Do I Set a Combo Box Default Item? [modified] Pin
Justin Perez13-Nov-07 4:56
Justin Perez13-Nov-07 4:56 
TawaPower wrote:
Is it possible to get the index from the combobox instead of hard coding the value. I am trying to avoid a situation where I have to provide values for all countries


Yeah, I was just giving a simple example of what you could do. Definately not a good idea to hard-code anything like that. What you could do is:

Once you have the country from the user, you iterate over each county in the combobox, and once you find the match for the user's county you have the index of it(you iterator value in your for loop), and set the selectedindex to that value.


-- modified at 11:22 Tuesday 13th November, 2007

"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer

I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")

QuestionListViewItem Transparent BackColor Pin
MWaqas Badar13-Nov-07 3:53
MWaqas Badar13-Nov-07 3:53 
AnswerRe: ListViewItem Transparent BackColor Pin
Judah Gabriel Himango13-Nov-07 4:13
sponsorJudah Gabriel Himango13-Nov-07 4:13 
QuestionHow to get the names of all classes wich are derived from a base class ? Pin
MarkPhB13-Nov-07 3:49
MarkPhB13-Nov-07 3:49 
AnswerRe: How to get the names of all classes wich are derived from a base class ? Pin
Judah Gabriel Himango13-Nov-07 4:08
sponsorJudah Gabriel Himango13-Nov-07 4:08 
AnswerRe: How to get the names of all classes wich are derived from a base class ? [modified] Pin
ss2013-Nov-07 4:30
ss2013-Nov-07 4:30 
GeneralRe: How to get the names of all classes wich are derived from a base class ? Pin
Scott Dorman13-Nov-07 12:28
professionalScott Dorman13-Nov-07 12:28 
Questionconverting image to bitmap Pin
dogmatic6913-Nov-07 3:36
dogmatic6913-Nov-07 3:36 
AnswerRe: converting image to bitmap Pin
Judah Gabriel Himango13-Nov-07 4:04
sponsorJudah Gabriel Himango13-Nov-07 4:04 
JokeRe: converting image to bitmap Pin
Not Active13-Nov-07 5:08
mentorNot Active13-Nov-07 5:08 
GeneralRe: converting image to bitmap Pin
Vasudevan Deepak Kumar13-Nov-07 20:28
Vasudevan Deepak Kumar13-Nov-07 20:28 
QuestionDisabling default context Menu Pin
Adnan Siddiqi13-Nov-07 3:19
Adnan Siddiqi13-Nov-07 3:19 
AnswerRe: Disabling default context Menu Pin
Judah Gabriel Himango13-Nov-07 4:04
sponsorJudah Gabriel Himango13-Nov-07 4:04 
GeneralRe: Disabling default context Menu Pin
Adnan Siddiqi13-Nov-07 5:53
Adnan Siddiqi13-Nov-07 5:53 
QuestionHow to convert to C# code Pin
Programm3r13-Nov-07 3:15
Programm3r13-Nov-07 3:15 
AnswerRe: How to convert to C# code Pin
Anthony Mushrow13-Nov-07 3:54
professionalAnthony Mushrow13-Nov-07 3:54 
AnswerRe: How to convert to C# code Pin
Judah Gabriel Himango13-Nov-07 3:59
sponsorJudah Gabriel Himango13-Nov-07 3:59 
QuestionRe: How to convert to C# code Pin
Programm3r13-Nov-07 20:08
Programm3r13-Nov-07 20:08 

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.