private void bttn_Print_Click(object sender, EventArgs e) { DataTable data = val.DataGridView2DataTable(dgv_InterestDetail, "table"); CrystalReport.frm_ReportViewer _objfrm_ReportViewer = new CrystalReport.frm_ReportViewer(); SendData _obj = new SendData(_objfrm_ReportViewer.ReceiveTotalInterest); _obj(data, lbl_MonthYear.Text, false); _objfrm_ReportViewer.ShowDialog(); }
private void bttn_Print_Click(object sender, EventArgs e) { DataTable data = val.DataGridView2DataTable(dgv_SixMonthReport, "table"); CrystalReport.frm_ReportViewer _objfrm_ReportViewer = new CrystalReport.frm_ReportViewer(); SendData _obj = new SendData(_objfrm_ReportViewer.ReceiveSixMonth); _obj(data, false); _objfrm_ReportViewer.ShowDialog(); }