We'll probably need more info....first - are you creating a Dataset - and
the data you can preview is buy using that with the objectDatasource?
Also - have you remembered to tie the ObjectDataSource to the Gridview?
Also - when you try running the query in the database, does it return data?
(just hitting the first things I can think of)
--
David Wier
MVP/ASPInsider
http://aspnet101.com http://aspexpress.com
"Mike" <mc*****@gmail.comwrote in message
news:11*********************@o58g2000hsb.googlegro ups.com...
I'm using the 2.0 framework and cannot get a gridview to return records
with an objectDataSource.
I can preview the data from the datatable.
To make this as simple as possible I used the wizard and turned all
paging and sorting options off and the gridview will not display
anything. Not even column headings. I have a text box, drop down list,
button and a label on the page and they all display fine.
Why won't the gridview do it's job?
Thanks
Mike