Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (HttpContext.Current.Request.QueryString["iDTaiKhoanNganHang"] != null)
     {
         string iDTaiKhoanNganHang = HttpContext.Current.Request.QueryString["iDTaiKhoanNganHang"].ToString();
         try
         {
             taiKhoan = taiKhoanManagement.getTaiKhoanNganHang("where ID=N'" + iDTaiKhoanNganHang + "'")[0];
             if (!this.IsPostBack)
             {
                 initializeDataInControl();
             }
         }
         catch (Exception ex)
         {
             taiKhoan = null;
         }
     }
 }
Exemple #2
0
 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);
 }
Exemple #3
0
 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);
 }