Exemplo n.º 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(dgvDeliveryNoteReport, "Delivery Note Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "DNREP18:" + ex.Message;
     }
 }
Exemplo n.º 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(dgvSalaryPackage, "Salary Package Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "SPR:10 " + ex.Message;
     }
 }
Exemplo n.º 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(dgvProductStatistics, "Product Statistics Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "PS13:" + ex.Message;
     }
 }
Exemplo n.º 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(dgvPhysicalStockReport, "Physical Stock Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "PSRT16:" + ex.Message;
     }
 }
Exemplo n.º 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(dgvContraReport, "Contra Voucher Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "CRT14:" + ex.Message;
     }
 }
Exemplo n.º 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(dgvMonthlyAttendance, "Monthly Attendance Report", 0, 0, "Excel", null, null, "");
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "MAR16 " + ex.Message;
     }
 }