public ActionResult DocumentViewerExportToCacDonViCo() { var report = new CongCuDungCu.Reports.rpCacDonViCo(); report.getIDDonViCo(System.Web.HttpContext.Current.User.Identity.Name); report.Fill(AccountDataProvider.GetSystemDate()); return(DocumentViewerExtension.ExportTo(report)); }
public ActionResult rpCacDonViCoPartial() { var report = new CongCuDungCu.Reports.rpCacDonViCo(); report.getIDDonViCo(System.Web.HttpContext.Current.User.Identity.Name); report.Fill(AccountDataProvider.GetSystemDate()); ViewData["Report"] = report; return(PartialView("rpCacDonViCoPartial")); }