Click to See Complete Forum and Search --> : Max rows in datagrid
J Staniforth
May 28th, 2003, 06:06 AM
Does anyone know how to determine the maximum acceptible rows in a datagrid?
(Presumably relates to structure of dataset).
hellswraith
May 28th, 2003, 09:02 AM
The max acceptable is subjective. If the rows take up a lot of area on the page for each one, then fewer would probably be better. Now, if they are one line rows, then maybe 20-30 or more.
Basically you have to make a judgment call on what is good for the users.
J Staniforth
May 28th, 2003, 09:05 AM
Sorry - didn't make myself clear but your answer actually was the answer to the question I should have been asking! (does that make sense?)
hellswraith
May 28th, 2003, 09:32 AM
If it helps, you should look into paging your data. The datagrid control provides some pretty good support for paging data. I personally prefer custom paging.
A great book on datagrids is the ASP.NET Data Web Controls Kick Start from Sams publishing (Author is Mitchell). It has 3-4 different ways to incorporate paging, along with all the information you need to learn almost every aspect of the web datagrid control. I highly recommend this book.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.