تاپیک مورد نظر بسته شده است
در قسمت کنترل این صفحه این کد ها را قرار داده ام
public virtual ActionResult StiReport() { System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo("fa-IR"); Db_WebEntities db = new Db_WebEntities(); var _List = db.Vi_ProviderSelect.ToList(); StiReport report = new StiReport(); string Path = Server.MapPath("~/Areas/PersonalWeb/Other/Report/ReportTest.mrt"); // نام و مسیر قالبی که در دیزانر ایجاد کردیم report.Load(Path); report.Compile(); report.RegBusinessObject("TestObject", _List); // نام شیئی که در دیزانر ایجاد کردیم //report.Dictionary.SynchronizeBusinessObjects(2); return Stimulsoft.Report.Mvc.StiMvcViewer.GetReportSnapshotResult(report); } public virtual ActionResult ViewerEvent() { return Stimulsoft.Report.Mvc.StiMvcViewer.ViewerEventResult(HttpContext); } public virtual ActionResult Print() { return View(); } public virtual ActionResult PrintReport() { return Stimulsoft.Report.Mvc.StiMvcViewer.PrintReportResult(HttpContext); } public virtual FileResult ExportReport() { return Stimulsoft.Report.Mvc.StiMvcViewer.ExportReportResult(HttpContext); } public virtual ActionResult Interaction() { return Stimulsoft.Report.Mvc.StiMvcViewer.InteractionResult(HttpContext); }
هیچ کاربری تا کنون از این پست تشکر نکرده است
تاپیک مورد نظر بسته شده و امکان درج پاسخ وجود ندارد
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)