IsPostBack,IsPostBack,IsPostBack,IsPostBack名字要长
如果这样:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.DropDownListBind();
}
}
数据不绑定,不知道是为什么。
如果这样:
protected void Page_Load(object sender, EventArgs e)
{
this.DropDownListBind();
}
数据绑定了,但选择哪个都是重新绑定后的第一个。
真的不知道是为什么。。。求高手解答