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;
            }
        }
示例#3
0
 private void reportDataBind()
 {
     tpm = new Accessories();
     DataSet ds = GetDs();
     if (ds.Tables[0].Rows.Count != 0)
     {
         tpm.SetDataSource(ds);
         crystalReportViewer1.ReportSource = tpm;
     }
 }
示例#4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     Accessories rpt = new Accessories();
     rpt.Site = this.Site;
     return rpt;
 }