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 MurugesanRank #300 · 8.4K reputationPosted Jul 5, 2017, 4:46 AM EDT
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 S69 reputationPosted Jul 5, 2017, 5:47 AM EDT