Link to home
Start Free TrialLog in
Avatar of musclejack
musclejack

asked on

what is the best way to move columns in the datatable so that it is in alphabetically order

what is the best way to move columns in the datatable so that it is in alphabetically order. Example please
Avatar of apresto
apresto
Flag of Italy image

is it sql server?
Avatar of musclejack
musclejack

ASKER

c#, datatable
i mean moving around the columns from the datatable. base on the column names
ASKER CERTIFIED SOLUTION
Avatar of apresto
apresto
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
nevermind
found it -
Change Position of Column in DataTable

The new SetOrdinal method allows users to change the position of the column in a DataTable