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