SundarNarasiman
Mon Feb 26 23:52:15 CST 2007
Ben,
This is a good question. You have out-of-box paging support for ASP.NET 2.0
's GridView Control. Unfortunately we don't have that for DataGridView
Control of Windows Application.
We need to write custom code to figure out the paging
logic.
The following link has the snippet for this scenario.
http://www.codeproject.com/useritems/DataGridView_manipulation.asp
Please let me know whether this fixes your need.
--
Thanks & Regards,
Sundar Narasiman
"Ben" wrote:
> Hi all,
>
> Is it possible to view result sets with the DataGriView control,
> instead of it showing all the results at once?
> For example, showing the first 10 results, then the next 10 and so on,
> just like in web pages.
>
> Thanks,
> Ben