Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

Help me to sort the below issue.

I have a Dataset and the Dataset has Tables with 'n' number of rows.

I want to display first 5 rows from the table in dataset.

My Page will refresh every 1 minutes.So Whenever my pages is refreshing I need to display the next 5 rows from the dataset.

For Example
If my dataset has 15 rows.

When loading the page for first time it should display/get only first 5 rows (1 to 5)from the dataset.

Wehn the page postback/refresh it should dispaly second set of 5 rows (6 to 10) from the dataset.

And again when the page postback it should dispaly thirdset of 5 rows (11 to 15) from the dataset.

Note:I am not using GridView in my webPage.
I am using dynamic controls to populate the data's from the dataset.


Thanks,

David
Posted

1 solution

Hello,
Have a look at : Paging Through a Query Result
 
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