Seal Report Forum
»
General
»
General Discussions/Other
»
How to pass parameter from c# code to seal report
Rank: Newbie
Groups: Registered
Joined: 1/8/2020(UTC) Posts: 0
|
We created a seal report using seal report designer tools and this report calling from c# code and tried to created report. we have used the SQL Server database to generate reports.
for reference please below code :
Repository repository = Repository.Create(); Report report = Report.LoadFromFile(@"C:\ProgramData\Seal Report Repository\Reports\Temp\Cases_by_priority.srex", repository); ReportExecution execution = new ReportExecution() { Report = report }; execution.Execute(); ; while (report.IsExecuting) System.Threading.Thread.Sleep(100); string result = execution.GenerateHTMLResult();
in which code we are trying to pass a parameter to seal the report using this code. this parameter will be use as a filter in the SQL query that already in the seal report.
thanks in advance.
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 4/7/2022(UTC) Posts: 4 Location: Erode Thanks: 1 times
|
|
|
|
|
Seal Report Forum
»
General
»
General Discussions/Other
»
How to pass parameter from c# code to seal report
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.