|
-
Oct 17th, 2007, 11:44 PM
#1
Thread Starter
Lively Member
[2005] search in gridview with page indexing
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
-
Oct 18th, 2007, 10:25 AM
#2
Re: [2005] search in gridview with page indexing
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|