So I set a datasoruce to the datatabler and then do .Databind().
The .items is full but the .columns is empty!!
Why is the .Columns empty I thought it was suppose to autogenerate the columns from the fields in the table!!
DataTable dtResult = new DataTable();
dtResult = objLineTrendsTools.Reports.Provider.Grids.getDefaultView(objParameters);
objTheGrid.DataSource = dtResult;
If ( objTheGrid.items.count > 0 ) // this works has items
if ( objTheGrid.columns.count > 0 ) // this doesnt works as the Columns is empty .Count = 0