Home All Groups Group Topic Archive Search About

Datagrid & limiting rows

Author
31 Mar 2005 5:07 PM
Steve
Anyway to limit the number of rows that will be shown on a datagrid?

Thanks.

Author
31 Mar 2005 6:13 PM
Cor Ligthert
Steve,

Set a rowfilter on the defaultview of the datatable that is the datasource.

Cor
Author
1 Apr 2005 1:09 AM
Steve
I see how to set the filter... but i don't see how to limit the # of rows. 
The filter allows for "LastName = 'Smith'"... but how can i tell it to only
give me the first 10 rows?

Thanks for the help :)

Show quoteHide quote
"Cor Ligthert" wrote:

> Steve,
>
> Set a rowfilter on the defaultview of the datatable that is the datasource.
>
> Cor
>
>
>