Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            InHdnReport rpt = new InHdnReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        private void frmInHDN_Load(object sender, EventArgs e)
        {
            InHdnReport inhdn  = new InHdnReport();
            string      select = "SELECT* FROM vInHDN WHERE MaHD='" + mahd + "'";
            DataSet     ds     = DataConn.GrdSource(select);

            inhdn.SetDataSource(ds.Tables[0]);
            crystalReportViewer1.ReportSource = inhdn;
        }