Hi,
i have combobox with items text and value of around ten items
I have to assign text with one variable and value with another value..
Note : value means not index i have binded value from db.
Name as text and roll no as value loaded in combobox in C#.
how to loop values and text of combobox items?
Manikandan MurugesanPosted Jul 5, 2017, 8:46 AM
You must create your own class type and override the ToString() method to return the text you want. Here is a simple example of a class you can use:
Murugavel SPosted Jul 5, 2017, 9:47 AM