I create an empty datable then fill data to it.
Then I bind it to datagridview.
The display at datagridview is fine, order by "TrsDate, DOrK).
Then I print the data to excel using datatable.
dtTable.DefaultView.Sort = "TrsDate, DOrK"
For each dtRow as datarow in dtTable.Rows
The problem is the ouput seq is not as I expected.
What's the problem?