protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["pageId"] != null) { pageId = int.Parse(Request.QueryString["pageId"].ToString()); } if (Request.QueryString["pageSize"] != null) { pageSize = int.Parse(Request.QueryString["pageSize"].ToString()); } if (Request.QueryString["totalItem"] != null) { totalItem = int.Parse(Request.QueryString["totalItem"].ToString()); } if (Request.QueryString["totalPage"] != null) { totalPage = int.Parse(Request.QueryString["totalPage"].ToString()); } listTaiKhoanNganHang = taiKhoanNganHangManagement.getTaiKhoanNganHang("", " ID asc", pageId, pageSize); totalItem = taiKhoanNganHangManagement.countTaiKhoanNganHang(""); ltPage.Text = CommonUtil.pageNavigator_TrangTrong("loadDSBanGhi", pageId, totalPage, pageSize, totalItem); }
protected void Page_Load(object sender, EventArgs e) { listTaiKhoanNganHang = taiKhoanNganHangManagement.getTaiKhoanNganHang("", " ID asc", pageId, pageSize); totalItem = taiKhoanNganHangManagement.countTaiKhoanNganHang(""); ltPage.Text = CommonUtil.pageNavigator_TrangTrong("loadDSBanGhi", pageId, totalPage, pageSize, totalItem); }