Force column order, Excel data table
- by Chris
I have a Excel Workbook that I use as a report template. I change the datasource on each pivot and datatable in a C# app. When I change the datatable datasource it tweeks the columns. Is there a way to force the column order?
private void RefreshRawData(string dataSource, string connection)
{
xl._Worksheet ws =…