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

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void Sukien_Load(object sender, EventArgs e)
        {
            DataTable dt = new DataTable();
            Database  ds = new Database();

            dt = ds.Docbang("Select *From SUKIEN");
            rpsukien rp = new rpsukien();

            rp.SetDataSource(dt);
            crystalReportViewer1.ReportSource = rp;
        }