Esempio n. 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReportSach rpt = new CrystalReportSach();

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 2
0
        private void FrmReportSachcs_Load(object sender, EventArgs e)
        {
            DataTable     dt  = new DataTable();
            SqlConnection con = dc.GetConnection();

            dt = XemDL("select * from SACH");
            CrystalReportSach rpt = new CrystalReportSach();

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