public void GenerateTextFile() { List <object> lst = new List <object>(); lst.Add("Errors"); TrialBalanceTxt repObj = new TrialBalanceTxt(); repObj.RInit(lst); repObj.Start(); }
protected void TextReport_Click(object sender, EventArgs e) { FL = "Insert";//ankita 15/09/2017 string Res = CLM.LOGDETAILS(FL, Session["BRCD"].ToString(), Session["MID"].ToString(), "TrialBal_Rpt" + "_" + Session["LOGINCODE"].ToString() + "", "00", Session["MID"].ToString()); List <object> lst = new List <object>(); lst.Add("Trial Balance"); lst.Add(TxtFDate.Text); lst.Add(TxtTDate.Text); lst.Add(rdbAll.Checked); lst.Add(rdbcode.Checked); TrialBalanceTxt repObj = new TrialBalanceTxt(); repObj.RInit(lst); repObj.Start(); }