Scroll bar for a grid ....

I have a requirement need to show 10 records at a time in grid from the list of 100 records. So i created a vertical scroll bar by my own and when i click on the bottom of it it is going to the next set of records, but if i click on the top arrow then it is not showing the previous.

even when i click on the bottom arrow of the scroll the pointer need to go to the next record, but it is always going to first.

so what to do now?
[449 byte] By [shravank] at [2007-11-20 7:02:59]
# 1 Re: Scroll bar for a grid ....
why dont you just employ paging and set each page to 10. Im assuming you mean "GridView" when you say "Grid"

heres an example : http://msdn2.microsoft.com/en-us/library/5aw1xfh3(vs.80).aspx

hth,
mcm
mcmcom at 2007-11-9 11:53:00 >