Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptII rpt = new rptII();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void frmRptItem_Load(object sender, EventArgs e)
        {
            rptII                  rep = new rptII();
            npos_dbDataSet         ds  = new npos_dbDataSet();
            Display_iiTableAdapter adp = new Display_iiTableAdapter();

            rep.SetDataSource(ds);
            adp.Fill(ds.Display_ii);
            crystalReportViewer1.ReportSource = rep;
        }