protected void TxtNarr_TextChanged(object sender, EventArgs e) { try { Btn_Calculate.Focus(); } catch (Exception Ex) { ExceptionLogging.SendErrorToText(Ex); } }
protected void Btn_Recalculate_Click(object sender, EventArgs e) { int RS = 0; RS = DC.Recalculate(Session["EntryDate"].ToString(), Session["BRCD"].ToString(), Session["MID"].ToString()); if (RS > 0) { WebMsgBox.Show("Calculated data removed, " + Session["LOGINCODE"].ToString() + " can calculate from start...!", this.Page); Btn_Calculate.Focus(); FL = "Insert";//Dhanya Shetty 23/09/2017 string Res = CLM.LOGDETAILS(FL, Session["BRCD"].ToString(), Session["MID"].ToString(), "DivCalc_Calremove" + "_" + Session["LOGINCODE"].ToString() + "", "00", Session["MID"].ToString()); } else { WebMsgBox.Show("Data not available on " + Session["EntryDate"].ToString() + " for User " + Session["LOGINCODE"].ToString() + " ...!", this.Page); Btn_Calculate.Focus(); } }