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