Seal Report Forum
»
Report Edition
»
Reports
»
Integration of Reports with Visual studio ASP .Net MVC
Rank: Newbie
Groups: Registered
Joined: 2/18/2020(UTC) Posts: 3
|
SealLibrary Assembly
If you have a project referencing the SealLibrary.dll assembly, you can execute a report with the following code (got from the TestAndSamples project of the solution).
Repository repository = Repository.Create(); Report report = Report.LoadFromFile(@"C:\ProgramData\Seal Report Repository\Reports\Search - Orders.srex", repository); ReportExecution execution = new ReportExecution() { Report = report }; execution.Execute(); while (report.IsExecuting) { System.Threading.Thread.Sleep(100); } string resultPath = execution.GenerateHTMLResult(); Process.Start(resultPath); //result contains the file path of the HTML report result
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/18/2020(UTC) Posts: 3
|
How to integrate my report in my ASP .Net MVC Application?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
|
|
|
|
Seal Report Forum
»
Report Edition
»
Reports
»
Integration of Reports with Visual studio ASP .Net MVC
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.