Ejemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Request.QueryString.AllKeys.Contains("ReportType"))
     {
         DataTable ExportDT = CRBusinessLogicLayer.BANK_VISIT_DETAILS(Convert.ToInt32(Request.QueryString["EXID"]), Convert.ToInt32(Request.QueryString["BankID"]), Request.QueryString["FDATE"].ToString(), Request.QueryString["TDATE"].ToString());
         if (ExportDT.Rows.Count > 0)
         {
             CRBusinessLogicLayer.GENERATEREPORT(ExportDT, "BANK VISIT DETAILS", Convert.ToInt32(Request.QueryString["ReportType"]));
         }
         else
         {
             Response.Redirect("~/DailyTransactions/BankVisitDetails.aspx", false);
         }
     }
     LoginRequired = true;
 }