hi

i use asp.net with vb.net

i do search form

i put result in placeholder

how i can create dynamic page

such that : each page include 4 results only

Recommended Answers

All 3 Replies

Dude i think you should use gridview to display ur result and there you have a property to set paging which will make ur life easy

hi

i use asp.net with vb.net

i do search form

i put result in placeholder

how i can create dynamic page

such that : each page include 4 results only

my sql query cann't be done using gridview

and i want show my search result as pragraph

so , i cannt use gridview


is there any way to paging my result

if you are using dataset or datatable to retieve the data from database you can use pageddatasource.it is very simple to use.just you need give data to it,set the properties like page count,pageindex,currentindex,allowpaging(not remember all proporties but u can easily find the required ..)....let me know if you need more inf...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.