protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (Session["UserName"] == null)
         {
             Response.Redirect("FrmLogin.aspx");
         }
         ViewState["FLAG"] = "AD";
         if (ViewState["FLAG"].ToString() == "AD")
         {
             txtDate.Text = Session["EntryDate"].ToString();
             BD.BindAccDemandD(DdlMODE: ddlstatus);
         }
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     BD.BindAccDemandD(DdlMODE: ddlstatus);
 }