コード例 #1
0
 /// <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;
     }
 }
コード例 #2
0
 /// <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;
     }
 }
コード例 #3
0
 /// <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;
     }
 }
コード例 #4
0
 /// <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;
     }
 }
コード例 #5
0
 /// <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;
     }
 }
コード例 #6
0
 /// <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;
     }
 }
コード例 #7
0
 /// <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;
     }
 }
コード例 #8
0
ファイル: frmCashBankbook.cs プロジェクト: hnjm/OneAccount
 /// <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;
     }
 }
コード例 #9
0
 /// <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;
     }
 }
コード例 #10
0
 /// <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;
     }
 }
コード例 #11
0
        /// <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;
            }
        }
コード例 #12
0
 /// <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;
     }
 }
コード例 #13
0
 /// <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;
     }
 }
コード例 #14
0
 /// <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;
     }
 }
コード例 #15
0
 /// <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;
     }
 }
コード例 #16
0
 /// <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;
     }
 }
コード例 #17
0
ファイル: frmDebitNoteReport.cs プロジェクト: hnjm/OneAccount
 /// <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;
     }
 }
コード例 #18
0
 /// <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;
     }
 }