Limit number of items retrieved for a gridview

Posts   
 
    
JayBee
User
Posts: 282
Joined: 28-Dec-2006
# Posted on: 05-Feb-2009 20:44:57   

Hi,

Im on 2.6, self service, using VS 2008.

I have a gridview that retrieves data from an llblgen datasource. Is it possible to limit the number of items supplied to the gridview by setting a parameter somewhere? E.g. bty supplying something like TOP 1000?

Jan

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 06-Feb-2009 05:46:53   

Hi Jan,

The LLBLGenProDataSource(2) has a property MaxNumberOfItemsToReturn, which is used to limit the number of rows returned. When this parameter is set to 0, it is ignored (all rows are returned).

David Elizondo | LLBLGen Support Team
JayBee
User
Posts: 282
Joined: 28-Dec-2006
# Posted on: 06-Feb-2009 19:54:32   

Hi Daelmo,

Thanks! I must have overlooked itflushed

Jan