PageRenderTime 67ms CodeModel.GetById 18ms RepoModel.GetById 0ms 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. DataGridViewPaging Sample
  4. ===============================================================================
  5. /////////////////////////////////////////////////////////////////////////////
  6. Use:
  7. This sample demonstrates how to page data in the DataGridView control;
  8. /////////////////////////////////////////////////////////////////////////////
  9. Code Logic:
  10. 1. Get total count of the rows in the table;
  11. 2. Calculate total count of pages;
  12. 3. Load each page on demand;
  13. /////////////////////////////////////////////////////////////////////////////
  14. References:
  15. 1. DataGridView Custom Column Sample
  16. http://msdn.microsoft.com/en-us/library/ms180996.aspx
  17. /////////////////////////////////////////////////////////////////////////////