Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (Session["UserName"] == null)
         {
             Response.Redirect("FrmLogin.aspx");
         }
         TxtBRCD.Text = Session["BRCD"].ToString();
         DataTable DT = new DataTable();
         DT = LG.GetBankNameDetails(TxtBRCD.Text.ToString());
         if (DT.Rows.Count > 0)
         {
             TxtBRCDName.Text = DT.Rows[0]["BranchName"].ToString();
         }
     }
 }