DropDownList中设置某个字段为选中项

IndexOf,FindByText,SelectdIndex 三个属性和方法。

drpnewsType.SelectedIndex = drpnewsType.Items.IndexOf(drpnewsType.Items.FindByText(Request.QueryString["ntype"].ToString()));

原文地址:https://www.cnblogs.com/sanduo8899/p/2995417.html