datagrid question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,

i was wondering if you knew a particular row id in a datagrid (which shows
10 records at a time) that you wanted to look at is there a way to position
to the current page index for which that item is found?

thanks,
rodchar
 
U have to loop thru the records.
When u find the matching record, find the index of that record.
and exit loop.

divide the index/pagesize = result

set the CurrentPageIndex = result

Thanks

--
http://pathidotnet.blogspot.com
=====
vInAypAtHi
o__
---_,>/'_------
(_) \(_)
 
when you say loop thru the records,
do you mean the dataset records
or the datagrid viewstate records?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

datagrid delete question 3
is this a problem... 1
datagrid question 2
datagrid selected item 4
datagrid edit textboxes 2
how do you do this? 2
datagrid property builder 2
gracefully move from details page 4

Back
Top