public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rpsukien rpt = new rpsukien();

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #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;
        }