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