how do i use report book using stored procedure?

1 posts, 0 answers
  1. Aris
    Aris avatar
    1 posts
    Member since:
    Oct 2015

    Posted 21 Dec 2017 Link to this post

    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;
            }
Back to Top