public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { scheout rpt = new scheout(); rpt.Site = this.Site; return(rpt); }
private void button9_Click(object sender, EventArgs e) { RPT.scheout myReport = new RPT.scheout(); myReport.SetParameterValue("@MINUTES_ID", this.dataGridView11.CurrentRow.Cells[0].Value.ToString()); RPT.Form5 myForm = new RPT.Form5(); myForm.crystalReportViewer6.ReportSource = myReport; myForm.ShowDialog(); }