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?
 
Back
Top