Click here to Skip to main content
15,922,427 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionDataGridView In Form Designer Pin
junxian_chen16-Nov-06 14:39
junxian_chen16-Nov-06 14:39 
AnswerRe: DataGridView In Form Designer Pin
Tal Kain16-Nov-06 15:26
Tal Kain16-Nov-06 15:26 
QuestionGet Info From Windows Service Pin
Owen West16-Nov-06 12:06
Owen West16-Nov-06 12:06 
GeneralRe: Get Info From Windows Service [modified] Pin
George L. Jackson16-Nov-06 16:16
George L. Jackson16-Nov-06 16:16 
AnswerRe: Get Info From Windows Service Pin
Scott Dorman17-Nov-06 6:10
professionalScott Dorman17-Nov-06 6:10 
QuestionUnderstanding .NET Programmability & MSWord Pin
Andrew Mercer16-Nov-06 6:32
Andrew Mercer16-Nov-06 6:32 
Questioncombobox find item by value Pin
Jason18816-Nov-06 5:26
Jason18816-Nov-06 5:26 
AnswerRe: combobox find item by value Pin
Tal Kain16-Nov-06 15:36
Tal Kain16-Nov-06 15:36 
If I understand your request You want to find the index of a value in the combo box and also getting the selected item index ?

well,
for getting the index of a value in the combo box:
cmbBox.Items.IndexOf("Male");
will give you the index of the object with the value of "Male"..

and to get the selected item index you can use the property "SelectedIndex":
cmbBox.SelectedIndex
to get the index...(or to set it..)
and:
cmbBox.SelectedText for a string
or cmbBox.SelectedValue for an object
(get && set)

next time, make a little search on our good friend Google...
You could find it easly..

Good luck.
GeneralRe: combobox find item by value Pin
Jason18817-Nov-06 4:11
Jason18817-Nov-06 4:11 
GeneralRe: combobox find item by value Pin
Tal Kain18-Nov-06 14:35
Tal Kain18-Nov-06 14:35 
Questionrosettanet and dotnet framework Pin
rik_b16-Nov-06 3:20
rik_b16-Nov-06 3:20 
QuestionBugs founded Pin
Hendrik Debedts16-Nov-06 1:26
Hendrik Debedts16-Nov-06 1:26 
AnswerRe: Bugs founded [modified] Pin
Dave Kreskowiak16-Nov-06 4:27
mveDave Kreskowiak16-Nov-06 4:27 
GeneralRe: Bugs founded Pin
Tal Kain16-Nov-06 15:41
Tal Kain16-Nov-06 15:41 
GeneralRe: Bugs founded Pin
Dave Kreskowiak16-Nov-06 17:02
mveDave Kreskowiak16-Nov-06 17:02 
GeneralRe: Bugs founded Pin
Tal Kain18-Nov-06 14:22
Tal Kain18-Nov-06 14:22 
QuestionError in building simple directshow application Pin
alpa shah15-Nov-06 23:04
alpa shah15-Nov-06 23:04 
QuestionTime Problem Pin
Tauseef A15-Nov-06 20:36
Tauseef A15-Nov-06 20:36 
AnswerRe: Time Problem Pin
Dave Kreskowiak16-Nov-06 4:24
mveDave Kreskowiak16-Nov-06 4:24 
QuestionDriverless Printing Pin
cathy_d'souza15-Nov-06 19:44
cathy_d'souza15-Nov-06 19:44 
QuestionGridview eith datareader Pin
neetusharmain15-Nov-06 18:14
neetusharmain15-Nov-06 18:14 
QuestionDo anyone know how to build a .net application from MS-DOS prompt Pin
chandkavi15-Nov-06 17:13
chandkavi15-Nov-06 17:13 
AnswerRe: Do anyone know how to build a .net application from MS-DOS prompt Pin
Christian Graus15-Nov-06 17:25
protectorChristian Graus15-Nov-06 17:25 
AnswerRe: Do anyone know how to build a .net application from MS-DOS prompt Pin
Michael Potter17-Nov-06 5:33
Michael Potter17-Nov-06 5:33 
AnswerRe: Do anyone know how to build a .net application from MS-DOS prompt Pin
Karthik Kalyanasundaram17-Nov-06 15:00
Karthik Kalyanasundaram17-Nov-06 15:00 

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.