Click here to Skip to main content
16,016,345 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi i am yogesh. my problem is that i want to so many detail informations in a page at runtime, so i want to show the details in multiple pages sequencially.Information may be much bigger.So suggest me how to dynamically add pges. Its urgent..
Posted
Comments
fjdiewornncalwe 21-Aug-11 18:28pm    
No one here will care that it is urgent for you. Those who feel like it will answer, those who don't, won't...

easiest way is to use query string

for exapmle if u pas page=1 in query string u might show first 50 lines from database
then by clicking on next page button, u increment 1 to 2, so the page shows 51-100 lines from database

same way, previous page button can decrement the number, but u have to put condition also that it doesn't go in negative

u can implement your logic as per need
 
Share this answer
 
Ummm, huh? First, a little clue for you - it's urgent for you, but not for us. If you want an answer in a timely fashion, you should ask your question in a way that people will understand it.

The best way to add pages dynamically is to create a page that has a Panel in it. When you redirect to that page, use a query string that tells it what to show, you can use text files that have the content, or you can pull the content from a database, or even just create the content in the page itself.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900