I have a datagrid that is populated by a SQL query that is create by the
user. Their is a DropDOwnList and a textbox. This gives them the WHERE
fielld selection and the value that they want to query. This is executed
via a button.
First problem,
When I select a new page, the grid dissappears unless I call method for
the button, which rebinds the grid the second time ( once in the
SelectedPageIndexChange and secondly in the BtnGetNewAssets).

Second problem,
When I get to a page other than the first, and the users enters a new
query and fires the button event I get the error about the selectedpageindex
must be greater than zero or less than page count. I h ave tried to set the
index back to zero, but I get the error regardless.

Any ideas????