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); } }
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); } }
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); } }