PageRenderTime 17ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Visual Studio 2008/CSWinFormDataGridView/DataGridViewPaging/ReadMe.txt

#
Plain Text | 31 lines | 17 code | 14 blank | 0 comment | 0 complexity | d7b8cbec3e4606fb39abd82712872770 MD5 | raw file
 1================================================================================
 2       WINDOWS FORMS APPLICATION : CSWinFormDataGridView Project Overview
 3       
 4                   DataGridViewPaging Sample
 5                        
 6===============================================================================
 7
 8/////////////////////////////////////////////////////////////////////////////
 9Use:
10
11 This sample demonstrates how to page data in the  DataGridView control;
12
13
14/////////////////////////////////////////////////////////////////////////////
15Code Logic:
16
171. Get total count of the rows in the table;
18
192. Calculate total count of pages;
20
213. Load each page on demand; 
22
23
24/////////////////////////////////////////////////////////////////////////////
25References:
26
271. DataGridView Custom Column Sample
28   http://msdn.microsoft.com/en-us/library/ms180996.aspx
29
30
31/////////////////////////////////////////////////////////////////////////////