62,067
社区成员
发帖
与我相关
我的任务
分享
if (!IsPostBack) {
int selectVal=1;//比如等于1
DropDownList1.DataSource = ArchiveManager.GetArchivesgetaboutbytag(1,null);
DropDownList1.SelectedValue = selectVal.ToString();
DropDownList1.DataBind();
//后台根据 selectVal在去绑定其他控件 根据没有必要首次加载执行那事件
Rp.xx = getXX(selectVal);
...
}