I am working on an Asp.NET project and I am trying to set the selected value of a dropdown list with a text property. For example i have i.e an item in the dropdown list wit
drpFunction.SelectedValue = drpFunction.Items.FindByText(t).Value;
This is better way to select text. By ioden's way it will show an error
"Multiple Items Cannot be selected in DropDownList"