This is a migrated thread and some comments may be shown as answers.

how do i use report book using stored procedure?

0 Answers 10 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Aris
Top achievements
Rank 1
Aris asked on 22 Dec 2017, 04:13 AM
public TestReport()
        {
            var report1 = DeserializeReport(@"~\ReportBook.trdx");
            var report2 = DeserializeReport(@"~\ReportBook2.trdx");
            report1.DataSource = "DefaultConnection";
            report2.DataSource = "DefaultConnection";
            this.Reports.Add(report1);
            this.Reports.Add(report2);
            Reports[0].ReportParameters["templateId"].Value = 0;
            Reports[0].ReportParameters["scheduleId"].Value = 1953;
            Reports[1].ReportParameters["templateId"].Value = 0;
            Reports[1].ReportParameters["scheduleId"].Value = 1953;
        }

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Aris
Top achievements
Rank 1
Share this question
or