0

I am using vb.net to query sql server database, after querying I want to display the results in table with 20 records a page, and there should have "backward" and "forward" button to allow user to look other pages of records.

Can this realized by using DataGridView? I haven't found a solution for it. Thanks.

user30643
  • 207
  • 1
  • 5
  • 13
  • how you filling your `DataGridView` using datasource or what ??, show your code also – Vivek S. Jul 01 '14 at 06:30
  • Hi hector, I just start thinking a solution for it (so not coding yet), not sure what should I use to export the query results and display in a table. Any suggestion? – user30643 Jul 01 '14 at 06:39
  • This is all you'll need: http://stackoverflow.com/questions/2825771/how-can-we-do-pagination-in-datagridview-in-winform . Next time please do a google search... – User999999 Jul 01 '14 at 06:42
  • Hi N55PEC, thanks for the link, although it use c#, I will follow the workflow. – user30643 Jul 01 '14 at 06:56

0 Answers0