示例#1
0
        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");
        }
示例#2
0
        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");
        }
示例#3
0
        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");
        }