Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27404

[RESOLVED] Rearrange DataTable Columns

$
0
0
Anybody have any suggestions on how to rearrange DataTable columns easily (I can think of a few ugly ways)?

The Data is coming from a Stored Proc I don't have control over so and loaded via a DataTable.Load(DataReader) call, so as much as I would love to I can't fix this via SQL. I have a third party component that takes in a DataTable and uses it to create an Excel Worksheet and of course somebody isn't happy with the default order of the columns. Thanks.

Viewing all articles
Browse latest Browse all 27404

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>