In the detailsview, I need to do something like:
DetailsView1.Fields.HeaderText = ObjectDataSource1.DataSource.DataTable.Column["ID"].Caption;
That doesn't work at all, it's a way of explaining.
I'm trying to get the DataTable columns returned to the ObjectDataSource, so I can access the individual columns and get the caption propery for the columns.
How do I do that ?