borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (dynamic page generation related question ?)Next Topic (Debug ASP.NET) New Topic New Poll Post Reply
AndreaVB Forum : ASP.Net : how to paging in windows application using vb.net, not for web application remind it ?
Poster Message
tri_inn
Level: Regular User
Registered: 26-08-2002
Posts: 395

icon how to paging in windows application using vb.net, not for web application remind it ?

say suppose in my form there is a datagrid control and four buttons for first,last,next,previous. i want to populate datagrid with 10 records out of 100 and when some one will click on next button then datagrid will show next 10 records in this way user can navigate in records but will see at a time 10 records if there is 10 or more than 10 records in table. how could i do it in windows application using vb.net.please help me.

29-12-2003 at 12:23 PM
View Profile Send Email to User Show All Posts | Quote Reply
zimcoder
Level: VB Lord


Registered: 27-10-2003
Posts: 225
icon Re: how to paging in windows application using vb.net, not for web application remind it ?

On the Datagrid you must set the paging property to true and you set the page size to 10. You do at least these two things without writing any code.

Follow this link to a good article of paging in ASP.NET
http://www.c-sharpcorner.com/Code/2003/Dec/PagingInASPNet.asp

NB// its done in c#

http://aspnet.4guysfromrolla.com/articles/091003-1.aspx
This is in two parts. it is well illustrated and in VB.NET
You should find pretty much of what yoou are looking for

____________________________
BrainBench ADO.NET and ASP.NET Certified Developer

13-01-2004 at 01:30 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : ASP.Net : how to paging in windows application using vb.net, not for web application remind it ?
Previous Topic (dynamic page generation related question ?)Next Topic (Debug ASP.NET) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder