Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["shownaudit_detail"].ToString() != "")
     {
         Session_value = Session["shownaudit_detail"].ToString();
         sessionvalue  = Session_value.Split(',');
     }
     if (!IsPostBack)
     {
         DataTable dtdelete = TransactionBOL.Delete_Iscomplete();
         DataTable dt       = TransactionBOL.Check_AuditDetails(sessionvalue[3].ToString(), sessionvalue[0].ToString(), DateTime.Now.ToString("dd/MM/yyyy"), sessionvalue[2].ToString());
         if (dt.Rows.Count == 0)
         {
             Session["AuditNo"] = 1;
             SessionAuditno     = Session["AuditNo"].ToString();
         }
         else
         {
             Session["AuditNo"] = 2;
             SessionAuditno     = Session["AuditNo"].ToString();
         }
     }
     set_seatLayout();
     //booked();
 }