limiting number of rows in a DataGrid

Hello!

I have a DataGrid type that displays a list of users on a web page. Sometimes this list is quite long, and I would like to limit it; like to only show 20 rows at a time. There should be like a "next" button to see the following items. How can I do this?

thnx!

[322 byte] By [TheMuffinman] at [2008-2-6]
# 1
Hi,

I think DataGrid supports Paging. Here is a document that might help you in this. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskspecifyingpagingbehaviorindatagridwebcontrol.asp
cheers,

Paul June A. Domag

PaulDomag at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...
# 2
Thanks Smile
TheMuffinman at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...