ASp.NET Dropdown and Dictionary
- by Lijo
Hi Team,
I am using a dropdown list in ASP.NET with C#.
I am trying to bind a dictionary to the dropdownlist.
How can we specify the "Text" (key of dictionary as Text of drop down) and "value" (value as Value) for the dropdown?
Could you please help?
Note: There is a constraint that a class should not be introduced for this purpose. That is why I am trying to use a dictionary.
Thanks
Lijo