V1.0.1.8 -- 2025/12/20
* BMS History Function Improved
This commit is contained in:
@@ -180,7 +180,7 @@ namespace LFP_Manager.Controls
|
||||
SaveFileDialog sDialog = new SaveFileDialog();
|
||||
sDialog.Title = "Select save file";
|
||||
sDialog.DefaultExt = "xlsx";
|
||||
sDialog.Filter = "Excel files 2003 (*.xls)|*.xls|All files (*.*)|*.*";
|
||||
sDialog.Filter = "Excel files (*.xlsx)|*.xlsx|All files (*.*)|*.*";
|
||||
|
||||
if (sDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
@@ -188,7 +188,9 @@ namespace LFP_Manager.Controls
|
||||
|
||||
try
|
||||
{
|
||||
csExcelExport.ExportToExcelExt(dtHistory, filename);
|
||||
DataTable[] export = new DataTable[1];
|
||||
export[0] = dtHistory;
|
||||
csExcelFunction.ExportDgvWithClosedXml(filename, export);
|
||||
|
||||
MessageBox.Show("Complete Export Excel File", "Result", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user