private void ShowManagementReport_Load(object sender, EventArgs e)
        {
            sh = new ManagementReport();
            sh.SetDatabaseLogon("scott", "tiger");

            crystalReportViewer1.ReportSource = sh;
        }
Ejemplo n.º 2
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            ManagementReport rpt = new ManagementReport();

            rpt.Site = this.Site;
            return(rpt);
        }