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