/// <summary> /// Export the graph data to an XLS format file /// </summary> public void ExportToXLS() { // If there are no rows in the grid then we cannot export if (this.OSDataSet.Tables[0].Rows.Count == 0) { MessageBox.Show("There is no data to Export", "Export Error"); } else { UltraGridExporter.ExportUltraGridToExcel(OSGridView, headerLabel.Text); } }
/// <summary> /// Export the graph data to an XLS format file /// </summary> public void ExportToXLS() { // If there are no rows in the grid then we cannot export if (_currentGrid.Rows.Count == 0) { MessageBox.Show("There is no data to Export", "Export Error"); } else { UltraGridExporter.ExportUltraGridToExcel(_currentGrid, "AuditWizardData"); } }
/// <summary> /// Export the graph data to an XLS format file /// </summary> public void ExportToXLS() { // If there are no rows in the grid then we cannot export if (this.operationsDataSet.Tables[0].Rows.Count == 0) { MessageBox.Show("There is no data to Export", "Export Error"); } else { UltraGridExporter.ExportUltraGridToExcel(operationsGridView, "operationslog"); } }