Exemple #1
0
 private void ExportWorkList()
 {
     try
     {
         string sResult = ExcelExportImport.ExportToDataGridView <DefectiveVO>((List <DefectiveVO>)dgvStatus.DataSource, "");
         if (sResult.Length > 0)
         {
             MessageBox.Show(sResult);
         }
     }
     catch (Exception err)
     {
         MessageBox.Show(err.Message);
     }
 }
Exemple #2
0
 private void ExportCustomerList()
 {
     try
     {
         string sResult = ExcelExportImport.ExportToDataGridView <UserVO>((List <UserVO>)dgvUser.DataSource, "");
         if (sResult.Length > 0)
         {
             MessageBox.Show(sResult);
         }
     }
     catch (Exception err)
     {
         MessageBox.Show(err.Message);
     }
 }
Exemple #3
0
 private void ExportPerList()
 {
     try
     {
         string sResult = ExcelExportImport.ExportToDataGridView <PerformanceVO>((List <PerformanceVO>)dgvPerformance.DataSource, "");
         if (sResult.Length > 0)
         {
             MessageBox.Show(sResult);
         }
     }
     catch (Exception err)
     {
         MessageBox.Show(err.Message);
     }
 }