Exemplo n.º 1
0
        /// <summary>
        /// export the audit information to excel
        /// </summary>
        public void ExportAudit()
        {
            AuditRepository objaudit = new AuditRepository(SessionCustom);

            ConvertListExcel <AuditComp> objConvert = new
                                                      ConvertListExcel <AuditComp>(HttpContext);

            objConvert.CollList  = objaudit.GetList();
            objConvert.SheetName = this.Module.Name;
            objConvert.ConvertToExcel();
        }
Exemplo n.º 2
0
        /// <summary>
        /// export the log information to excel file
        /// </summary>
        public void ExportLog()
        {
            LogRepository objlog = new LogRepository(SessionCustom);

            ConvertListExcel <Log> objConvert = new
                                                ConvertListExcel <Log>(HttpContext);

            objConvert.CollList  = objlog.GetAll();
            objConvert.SheetName = this.Module.Name;
            objConvert.ConvertToExcel();
        }