Salutations Axel,
The actual schema isn't calculated until ObjectDataSource constructs the
ObjectDataSourceView for your object.
That doesn't happen until you call Select() on ODS.
--
Regards,
Bryan Porter
http://www.bryanporter.com/
"What A Horrible Night To Have A Curse!" - S. Belmont
"Axel Dahmen" <Ke********@newsgroups.nospamwrote in message
news:eL**************@TK2MSFTNGP04.phx.gbl...
Hi,
I'd like to retrieve and step through an ObjectDataSource's columns to be
able to manually add BoundFields to a GridView control.
I don't know how to do this other than to manually call the
ObjectDataSource's Select() method. But this also retrieves all the data,
which I don't want to get at that time.
Your help is quite appreciated.
Regards,
Axel Dahmen