/// <summary> /// On 'Export' button click to export the report to Excel /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnExport_Click(object sender, EventArgs e) { try { ExportNew ex = new ExportNew(); ex.ExportExcel(dgvBonusDeductionReport, "Bonus Deduction Report", 0, 0, "Excel", txtDate.Text, txtTodate.Text, ""); } catch (Exception ex) { MessageBox.Show("BDR:19" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// On 'Export' button click to export the report to Excel /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnExport_Click(object sender, EventArgs e) { try { ExportNew ex = new ExportNew(); ex.ExportExcel(dgvAdvancePayment, "Advance Payment Report", 0, 0, "Excel", txtFromDate.Text, txtToDate.Text, ""); } catch (Exception ex) { MessageBox.Show("APR:21" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// On 'Export' button click to export the report to Excel /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnExport_Click(object sender, EventArgs e) { try { ExportNew ex = new ExportNew(); ex.ExportExcel(dgvContraReport, "Contra Voucher Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { MessageBox.Show("CRT:23" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// On 'Export' button click to export the report to Excel /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnExport_Click(object sender, EventArgs e) { try { ExportNew ex = new ExportNew(); ex.ExportExcel(dgvPDCPayableReport, "PDC Payable Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { MessageBox.Show("PPREP32: " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// On 'Export' button click to export the report to Excel /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnExport_Click(object sender, EventArgs e) { try { ExportNew ex = new ExportNew(); ex.ExportExcel(dgvsalesReturnReport, "Sales Return Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { MessageBox.Show("SRRprt26 " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// On 'Export' button click to export the report to Excel /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnExport_Click(object sender, EventArgs e) { try { ExportNew ex = new ExportNew(); ex.ExportExcel(dvgPartyAddressBook, "Party Address Book", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { MessageBox.Show("PAB:17 " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// On 'Export' button click to export the report to Excel /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnExport_Click(object sender, EventArgs e) { try { ExportNew ex = new ExportNew(); ex.ExportExcel(dgvCashOrBank, "Cash/Bank Book", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { MessageBox.Show("CBBOOK17: " + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// On 'Export' button click to export the report to Excel /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnExport_Click(object sender, EventArgs e) { try { ExportNew ex = new ExportNew(); ex.ExportExcel(dgvDailyAttendanceReport, "Daily Attendance Report", 0, 0, "Excel", txtDate.Text, null, ""); } catch (Exception ex) { MessageBox.Show("DAR:18" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// On 'Export' button click to export the report to Excel /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnExport_Click(object sender, EventArgs e) { try { ExportNew ex = new ExportNew(); ex.ExportExcel(dgvSalaryPackageDetails, "Salary Package Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { MessageBox.Show("SPDR:10" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }