protected void btnNextpage_Click(object sender, EventArgs e) { mPage++; btnUppage.Enabled = true; GA lGoodinfo = new GA(); ThirdClassDm lThirdName = new ThirdClassDm(); GAController Gadmin = new GAController(); lThirdName.ThirdClassDmName = ddlThirdClum.SelectedItem.Text; string lThirdID = lGoodinfo.TcNameGetID(lThirdName); List <Good> GoodExamInfo = new List <Good>(); GoodExamInfo = Gadmin.Nextpage(lGoodinfo, lThirdID, mPage); dlistGoodShow.DataSource = GoodExamInfo; dlistGoodShow.DataBind(); btnUppage.Enabled = true; if (mPage == mPageCount) { btnNextpage.Enabled = false; } ShwoPages.Text = "第" + mPage.ToString() + "页/共" + mPageCount.ToString() + "页"; }