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

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

posted on 2013-04-02 14:15  sanduo_lei  阅读(163)  评论(0)    收藏  举报