Example #1
0
        private void frmRptViewer_Load(object sender, EventArgs e)
        {
            rptJobSheet rptJ = new rptJobSheet();
            rptJ.DataSource = dsReportA.Tables[0];
            this.reportViewer1.Report = rptJ;
            this.reportViewer1.RefreshReport();

            rptJobSheetB rptJB = new rptJobSheetB();
            rptJB.DataSource = dsReportB.Tables[0];
            this.reportViewer2.Report = rptJB;
            this.reportViewer2.RefreshReport();
        }
Example #2
0
        private void frmRptViewer_Load(object sender, EventArgs e)
        {
            rptJobSheet rptJ = new rptJobSheet();

            rptJ.DataSource           = dsReportA.Tables[0];
            this.reportViewer1.Report = rptJ;
            this.reportViewer1.RefreshReport();

            rptJobSheetB rptJB = new rptJobSheetB();

            rptJB.DataSource          = dsReportB.Tables[0];
            this.reportViewer2.Report = rptJB;
            this.reportViewer2.RefreshReport();
        }