When adding a gridview to a page, setting datasource/connectionstrin
g, selectstatement and all, it is working nicely, even with paging, getting data out of a ms sql 2005 db. But a lot of things seem not to be possible when adding the gridview as a dynamic control in code. At least the paging does not work, saying "Server side paging not supported".
Is it really true that it is not possible to just put a placeholder on the page and then construct both gridview and sqldatasource in code, and still have the same functionallity as when dropped on the form and settings defined in the asp code ?
regards
Soren
Start Free Trial