ASp.NET Dropdown and Dictionary
Posted
by Lijo
on Stack Overflow
See other posts from Stack Overflow
or by Lijo
Published on 2010-05-01T15:19:44Z
Indexed on
2010/05/01
15:27 UTC
Read the original article
Hit count: 248
ASP.NET
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
© Stack Overflow or respective owner