private void ShowManagementReport_Load(object sender, EventArgs e) { sh = new ManagementReport(); sh.SetDatabaseLogon("scott", "tiger"); crystalReportViewer1.ReportSource = sh; }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { ManagementReport rpt = new ManagementReport(); rpt.Site = this.Site; return(rpt); }