public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { Accessories rpt = new Accessories(); rpt.Site = this.Site; return(rpt); }
private void reportDataBind() { tpm = new Accessories(); DataSet ds = GetDs(); if (ds.Tables[0].Rows.Count != 0) { tpm.SetDataSource(ds); crystalReportViewer1.ReportSource = tpm; } }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { Accessories rpt = new Accessories(); rpt.Site = this.Site; return rpt; }