getting list values

moharann

New Member
is there an easy way to get the value of the selected item in a listbox?<BR>i had to use some casting to obtain that info<BR>Convert.ToInt32(((ListItemCollection)((ListControl )aDropdownList).Items)[aDropdownList.SelectedIndex].Value );<BR>...aDropDownList.SelectedItem.Text
 
Back
Top