コード例 #1
0
 private void BTNPRINT_Click(object sender, EventArgs e)
 {
     RPT.FRM_REPORTS frm = new RPT.FRM_REPORTS();
     RPT.RPT_REQUEST rpt = new RPT.RPT_REQUEST();
     rpt.SetParameterValue("@Req_ID", CLASS_REQUEST.max_id());
     frm.crystalReportViewer1.ReportSource = rpt;
     frm.ShowDialog();
 }
コード例 #2
0
 private void btn_print_Click(object sender, EventArgs e)
 {
     RPT.FRM_REPORTS frm = new RPT.FRM_REPORTS();
     RPT.RPT_REQUEST rpt = new RPT.RPT_REQUEST();
     rpt.SetParameterValue("@Req_ID", grid_request.SelectedRows[0].Cells[0].Value);
     frm.crystalReportViewer1.ReportSource = rpt;
     frm.ShowDialog();
 }