2

I have applications(WinForm) that gets some objects from webservice. After receiving array I transform array to DataTable and show data in DataGridView. Problem is when there are too many records. Of course I can change WS to send information in packages containing for example 100 objects but I'm not sure how to change DataGridView. Could you please provide some example?

Thanks

arek
  • 1,282
  • 4
  • 15
  • 25
  • Here's a [simple working example](http://stackoverflow.com/questions/2825771/how-can-we-do-paging-in-datagridview-in-winform/9504739#9504739). – Rick Mohr Feb 29 '12 at 20:59

2 Answers2

1

Should be easy to do . Just edit the properties of the datagrid in designview(little arrow at the right) and enable it. Have a look at this aticle

Ren Hoek
  • 315
  • 2
  • 14
  • As I can see it's only for ASP and I'm developing winforms application – arek Nov 06 '09 at 09:20
  • 1
    Sorry, should have read more carefully --- Seems there is a programmatical way - http://www.codeproject.com/KB/grid/DataGridBoundedPaging.aspx and there is a codeplex project (not shure bout paging in this) - http://www.codeplex.com/sourcegrid/ – Ren Hoek Nov 06 '09 at 09:37
0

I think so far bindingSource control provides the best solution .

Thunder
  • 10,366
  • 25
  • 84
  • 114