Data Grid Paging in Windows Forms

Posts   
 
    
Posts: 10
Joined: 11-Dec-2008
# Posted on: 08-Dec-2011 09:21:31   

Hi,

Just wanted to know if paging could be enabled for Data Grid in Windows Forms using LLBLGen Pro like XPO by DevExpress.

The database size is huge & is hosted on webserver. I wanted to enable paging so that interface doesn't hangs up!

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 08-Dec-2011 10:53:27   

I'm not familier with XPO, so could you explain what feature does it provide in this matter.

Posts: 10
Joined: 11-Dec-2008
# Posted on: 08-Dec-2011 11:03:36   

Walaa wrote:

I'm not familier with XPO, so could you explain what feature does it provide in this matter.

You can find out about Instant Feedback UI feature of DevExpress at http://www.devexpress.com/Products/NET/Controls/WinForms/Grid/instant-feedback.xml

I found paging mechanisms for win grid on code project. The URLs are below

  1. http://www.codeproject.com/KB/grid/DataGridPaging.aspx

  2. http://www.codeproject.com/KB/miscctrl/Gridview_Pagination.aspx

I wanted to know if there is some built in paging mechanism for windows applications & if there is any, how to implement paging in windows data grid using llblgen pro?

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 08-Dec-2011 12:55:22   

LLBLGen Pro doesn't provide a datasource for Win Forms, that's only available for Web Forms.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 08-Dec-2011 15:33:17   

It's also unnecessary, as you should use BindingSource to define your UI and at runtime set the BindingSource's DataSource object to the collection you've fetched.

It's a bit more work, but it also gives you more control over what's going on. In general this is a good thing

Frans Bouma | Lead developer LLBLGen Pro