Hi,
Is it possible to search a gridview control.....which is using pageindexing...
I want to be able move to the pageindex of the gridcontrol for the next found record...in the grid control...
thanks in advance
Printable View
Hi,
Is it possible to search a gridview control.....which is using pageindexing...
I want to be able move to the pageindex of the gridcontrol for the next found record...in the grid control...
thanks in advance
You haven't told us what you're using to bind the gridview, so, I shall assume.
Use the dataset's select method, or a dataview and the RowFilter.
They'll give you a dataview or a set of datarows you can use to re-bind the gridview.
Actually searching the gridview such that all the data remains, but you navigate 'automatically' to the relevant pages will require a bit more coding. For example, you will need to get a hold of the dataset, query it for the data you need and calculate which pages the row appears on, and navigate to it.