コード例 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         if (!IsPostBack)
         {
             if (Session["UserName"] == null)
             {
                 Response.Redirect("FrmLogin.aspx");
             }
             DD.BindAccStatusActivity(DdlActivity);
             DD.BindSecActivity(DdlSUActivity);
             BindNPAType();
             Txtfrmbrcd.Focus();
             autoglname.ContextKey  = Session["BRCD"].ToString();
             autoglname1.ContextKey = Session["BRCD"].ToString();
             //added by ankita 07/10/2017 to make user frndly
             Txtfrmbrcd.Text  = Session["BRCD"].ToString();
             Txttobrcd.Text   = Session["BRCD"].ToString();
             TxtAsonDate.Text = Session["EntryDate"].ToString();
         }
     }
     catch (Exception Ex)
     {
         ExceptionLogging.SendErrorToText(Ex);
     }
 }