By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,032 Members | 1,147 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,032 IT Pros & Developers. It's quick & easy.

Datagrid & limiting rows

P: n/a
Anyway to limit the number of rows that will be shown on a datagrid?

Thanks.
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Steve,

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

Cor
Nov 21 '05 #2

P: n/a
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 :)

"Cor Ligthert" wrote:
Steve,

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

Cor

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.