public void writeSummaryReport(string report) { string fileName = String.Format("SummaryReport_{0:MM-dd-yyyy}", DateTime.Now); string filePath = System.Web.HttpContext.Current.Server.MapPath("~/Reports/" + fileName); ReportWriter.CreateFile(report, filePath + ".html"); }
public void writeWeeklyStatment(Person person, String statment) { string fileName = String.Format("WeeklyStatment_{0}_{1:MM-dd-yyyy}", person.Name.Replace(" ", "-"), DateTime.Now); string filePath = System.Web.HttpContext.Current.Server.MapPath("~/Reports/" + fileName); ReportWriter.CreateFile(statment, filePath + ".html"); }
public void writeEFTData(Provider provider, string content) { string fileName = String.Format("EFT_{0}_{1:MM-dd-yyyy}", provider.Name.Replace(" ", "-"), DateTime.Now); string filePath = System.Web.HttpContext.Current.Server.MapPath("~/Reports/" + fileName); ReportWriter.CreateFile(content, filePath + ".txt"); }