Saturday, February 7, 2009

How to find the selected value in dropdownlist using C#.Net?

ListItem lt = Dropdownlist1.Items.FindByText("Evening");
if (lt != null) Dropdownlist1.SelectedValue = lt.Value;

No comments:

 
Feedback Form