20260806-2930 Need to change title "Bonus & Other Allowance" to "Bonus" at fIncometaxCertificate #8
|
|
@ -95,6 +95,9 @@ namespace Payroll.UI
|
|||
}
|
||||
// dt.Rows.Add("", "", "", "Total", nDebit.ToString(), nCredit.ToString());
|
||||
// GlobalFunctions.ExportToExcel(dt, savefile.FileName, "Sheet1");
|
||||
// ToCSV walks dt.Rows, so the sorted view has to be materialized into a table.
|
||||
dt.DefaultView.Sort = "[GL Name] ASC";
|
||||
dt = dt.DefaultView.ToTable();
|
||||
GlobalFunctions.ToCSV(dt, savefile.FileName);
|
||||
MessageBox.Show("Excel created at " + savefile.FileName,"Exported",MessageBoxButtons.OK,MessageBoxIcon.Information);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user