Пример #1
0
 private void button5_Click(object sender, EventArgs e)
 {
     this.Cursor = Cursors.WaitCursor;
     RPT.rpt_prd_single myReport = new RPT.rpt_prd_single {
     };
     myReport.SetParameterValue("@ID", this.dataGridView1.CurrentRow.Cells[0].Value.ToString());
     RPT.FRM_RPT_PRODUCT myForm = new RPT.FRM_RPT_PRODUCT();
     myForm.crystalReportViewer1.ReportSource = myReport;
     myForm.ShowDialog();
     this.Cursor = Cursors.Default;
 }