You don't mention the underlying datasource for your grid - dataset, dataview, etc.
Let's assume it's a dataset.
After populating the dataset and before setting the datasource for the grid, you might course the dataset and make the necessary adjustments, then set the datasource for the grid...