如何知道DropDownList选择Item的,此时DataValueField的值是多少?
such as :
DropDownList1.DataTextField = "Name";
DropDownList1.DataSource = dm.SetAClassIndex();
DropDownList1.DataValueField = "classID";
DropDownList1.DataBind();
when select I want to know the ture classID value.
Thanks for any help.