public ActionResult DocumentViewerExportToXuatKho1Phieu() { var report = new CongCuDungCu.Reports.rpXuatKho1Phieu(); int sttct = (int)Session["STTCT"]; report.Fill(sttct); return(DocumentViewerExtension.ExportTo(report)); }
public ActionResult rpXuatKho1PhieuPartial() { var report = new CongCuDungCu.Reports.rpXuatKho1Phieu(); int sttct = (int)Session["STTCT"]; report.Fill(sttct); ViewData["Report"] = report; return(PartialView("rpXuatKho1PhieuPartial")); }