事件:
public void MyDoLi_SelectedIndexChanged(object sender, System.EventArgs e)
{
//CurrentPage = (int)ViewState["PageIndex"];
PageCount = (int)ViewState["PageCount"];

//string cmd = e.CommandName;
//判断cmd,以判定翻页方向
CurrentPage = Int32.Parse(MyDoLi.SelectedItem.Value) - 1;

ViewState["PageIndex"] = CurrentPage;
ListBind();  //查询数据库函数
}控件:
<asp:DropDownList id="MyDoLi" runat="server" OnSelectedIndexChanged="MyDoLi_SelectedIndexChanged"></asp:DropDownList>我点击DropDownList里的内容后,为什么不提交???