public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { rptiKits rpt = new rptiKits(); rpt.Site = this.Site; return(rpt); }
private void frmRptIkits_Load(object sender, EventArgs e) { rptiKits rep = new rptiKits(); npos_dbDataSet ds = new npos_dbDataSet(); DisplayKitsTableAdapter adp = new DisplayKitsTableAdapter(); rep.SetDataSource(ds); adp.Fill(ds.DisplayKits); crystalReportViewer1.ReportSource = rep; }