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

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        public void loadrp(string s)
        {
            s = t;
            DataTable tb = new DataTable();

            tb = truyxuat.laybang(s);
            Print.Cs.in_cs r = new Cs.in_cs();
            r.SetDataSource(tb);
            crystalReportViewer1.ReportSource = r;
        }