protected void BtnReport_Click(object sender, EventArgs e) //Dhanya Shetty to display Maturity
 {
     try
     {
         FL = "Insert";//Dhanya Shetty
         string Res = CLM.LOGDETAILS(FL, Session["BRCD"].ToString(), Session["MID"].ToString(), "Dash_Mat_rpt _" + Session["LOGINCODE"].ToString() + "", "00", Session["MID"].ToString());
         // HttpContext.Current.Response.Redirect("FrmDepositRep.aspx", false);
         DataTable dtnew = new DataTable();
         dtnew = LG.Getinfotabledt(Session["BRCD"].ToString());
         string redirectURL = "FrmRView.aspx?FD=01/01/1990&TD=" + Session["EntryDate"].ToString() + "&BRCD=" + Session["BRCD"].ToString() + "&rptname=RptDepositRep.rdlc&SUBGLFRM=" + dtnew.Rows[0]["SUBGLCODE"].ToString() + "&SUBGLTO=" + dtnew.Rows[dtnew.Rows.Count - 1]["SUBGLCODE"].ToString();
         ScriptManager.RegisterStartupScript(Page, Page.GetType(), "popup", "window.open('" + redirectURL + "','_blank')", true);
     }
     catch (Exception Ex)
     {
         ExceptionLogging.SendErrorToText(Ex);
     }
 }