Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Paging in DataGrid Winforms
 

Paging in DataGrid Winforms

Hi All,

In a WinForm, i'm using datagrid or Datagridview to display a table of data( Not from database, data is a combination webservices output and code manipulation).

I'm able to bind the table as datasource to grid, but if the count is more than hundred; i need to give paging functionality to the form.

A "Next>>" and "<<Previous" buttons as we have it in MSDN. Please give me sample code in C# to attain this functionality.

Thanks,

kotteesh  Thursday, May 29, 2008 2:52 PM
Rong-Chun Zhang  Tuesday, June 03, 2008 8:08 AM
Rong-Chun Zhang  Tuesday, June 03, 2008 8:08 AM
Hi kotteesh,

Here is one more solution for you:

http://code.msdn.microsoft.com/DataGridViewPaging

Thank you,
Sunil Vishwas
Sunil Vishwas  Saturday, March 21, 2009 2:47 AM

Hi,

I've recently posted a simple paging solution using the data grid. Hope it helps.

http://blogs.imeta.co.uk/TPeplow/archive/2009/07/14/datagridview-paging-using-virtual-mode.aspx

Tom

Tom Peplow  Wednesday, July 15, 2009 7:32 PM

You can use google to search for other answers

Custom Search

More Threads

• Error: Sort string contains a property that is not in the IBindingList.
• Bound Data Grid View - Inhibit Edit of PK Field.
• DateTimePicker and DataBinding
• Multiple Columns With Same Mapping Name?
• datagrid
• Problems with my combobox
• Need Help for DataGridViewComboBoxColumn
• Ignore , reject or remove one row from dataset?
• DataGrid Blinding Report Problem Urgently
• 2 relation tables in formview????