コード例 #1
0
 protected void BtnShow_Click(object sender, EventArgs e)
 {
     try
     {
         Div_AccDisplay.Visible = true;
         DT1 = LG.DashboardDetailsMaturity(Session["BRCD"].ToString(), LG.openDay(Session["BRCD"].ToString()), "MATLBL");//Dhanya Shetty
         if (DT1 != null)
         {
             lblAccCount.Text = (DT1.Rows[0]["ACCNO"].ToString() == "" ? "0" : DT1.Rows[0]["ACCNO"]).ToString();
             lblAmount.Text   = Convert.ToDouble(DT1.Rows[0]["MATURITYAMT"].ToString() == "" ? "0" : DT1.Rows[0]["MATURITYAMT"]).ToString("0.00");
             FL = "Insert";//Dhanya Shetty
             string Res = CLM.LOGDETAILS(FL, Session["BRCD"].ToString(), Session["MID"].ToString(), "Dash_Mat_Acc_Show _" + Session["LOGINCODE"].ToString() + "", "00", Session["MID"].ToString());
         }
         else
         {
             lblAccCount.Text = "0";
             lblAmount.Text   = "0.00";
         }
     }
     catch (Exception Ex)
     {
         ExceptionLogging.SendErrorToText(Ex);
     }
 }