/// <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) { formMDI.infoError.ErrorString = "APR:9 " + ex.Message; } }
/// <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(dgvPdcReceivableSearch, "PDC Receivable Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "PRREP19:" + ex.Message; } }
/// <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(DGVClraranceReport, "PDC Clearance Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "PCREP15:" + ex.Message; } }
/// <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(dgvEmployeeAddressBook, "Employee Address Book", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "EMP-AB9 " + ex.Message; } }
/// <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(dgvSalesOrderReport, "Sales Order Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "SORP19:" + ex.Message; } }
/// <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) { formMDI.infoError.ErrorString = "CRT14:" + ex.Message; } }
/// <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) { formMDI.infoError.ErrorString = "BDR:13" + ex.Message; } }
/// <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) { formMDI.infoError.ErrorString = "CBBOOK12:" + ex.Message; } }
/// <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(dgvAccountGroupReport, "Account Group Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "AGR14:" + ex.Message; } }
/// <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) { formMDI.infoError.ErrorString = "SPDR:8" + ex.Message; } }
/// <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(dgvPayHead, "Pay Head Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "PHR:8 " + ex.Message; } }
/// <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) { formMDI.infoError.ErrorString = "DAR:12" + ex.Message; } }
/// <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(dgvProductStatistics, "Product Statistics Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "PS13:" + ex.Message; } }
/// <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(dgvPhysicalStockReport, "Physical Stock Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "PSRT16:" + ex.Message; } }
/// <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(dgvDailySalary, "Daily Salary Report", 0, 0, "Excel", txtFromDate.Text, txtToDate.Text, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "DSR14" + ex.Message; } }
/// <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(dgvPurchaseReturnReport, "Purchase Return Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "PRRT17:" + ex.Message; } }
/// <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(dgvDebitNoteReport, "Debit Note Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "DRNTREP16:" + ex.Message; } }
/// <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(dgvMonthlyAttendance, "Monthly Attendance Report", 0, 0, "Excel", null, null, ""); } catch (Exception ex) { formMDI.infoError.ErrorString = "MAR16 " + ex.Message; } }