示例#1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptCuttingEmpYear rpt = new rptCuttingEmpYear();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        //
        private void btnprintyear1_Click(object sender, EventArgs e)
        {
            rptCuttingEmpYear oRpt = new rptCuttingEmpYear();

            SetDBLogonForReport(oRpt);
            crystalReportViewer1.ReportSource = oRpt;
            crystalReportViewer1.Show();
        }