Results 1 to 2 of 2

Thread: [2005] search in gridview with page indexing

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2007
    Posts
    83

    [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

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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
  •  



Click Here to Expand Forum to Full Width