Expand|Select|Wrap|Line Numbers
- String role = lstRole.SelectedItem.ToString();
Expand|Select|Wrap|Line Numbers
- Label1.Text = role;
I even tried using the code below and all i get is null value. seems like it not selecting any thing form the list box.
Expand|Select|Wrap|Line Numbers
- String role = lstRole.SelectedValue;
Thanks in advance.