Set the AutoCreateColumns property on GridControl to false, and provide only the columns you want through the DataBoundColumn class (they have to have the same FieldName and DataType as the one in the DataTable), and set the Title property to the name you want to display.
Imported from legacy forums. Posted by André (had 1988 views)
I have attached a sample application demonstrating this. It should work as is if you are on Vista and using the latest version of the gird. If not, the you can still use the code and reproduce it in your own application.
The DataSet has 11 columns, but I display only 4 of them, and I change the name they display in columns header.
Imported from legacy forums. Posted by André (had 2437 views)