D
DesignerX
I am being sent an ArrayList of ListItems.
I can bind to a dropdownlist control using:
oDropDownList.DataSource = oArrayList
This works but when the dropdownlist is rendered both the select box value
and the text are the same (The ListItem.Text), How do I get the
ListItem.Text to render as the text and the ListItem.Value to be the html
select option 'value'?
Thank You,
Stan
I can bind to a dropdownlist control using:
oDropDownList.DataSource = oArrayList
This works but when the dropdownlist is rendered both the select box value
and the text are the same (The ListItem.Text), How do I get the
ListItem.Text to render as the text and the ListItem.Value to be the html
select option 'value'?
Thank You,
Stan