How to keep on adding data after page is loaded?

Posted by Sksamantaray under ASP.NET on 12/20/2011 | Points: 10 | Views : 1465 | Status : [Member] | Replies : 2
Suppose the query result has 5000 rows which need to be populated in a gridview (without Paging).
When user clicks on a button immediately he can see the output (let say 500) but simultaneously it should get rest rows without user's knowledge.

Thanks,
Sanjay



Responses

Posted by: Nilschaudhari on: 12/20/2011 [Member] Starter | Points: 25

Up
0
Down
hi,

You get the data in the dataset or datatable after the user click on the button then retrive the records one by one and insert it into the database using query.

Sksamantaray, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 12/20/2011 [Member] Silver | Points: 25

Up
0
Down
No,My question is to fetch data only once.Since the output is having 5000 rows so get 500 data and show the page and then without the knowledge of user slowly populate other records like in facebook.
User does not have to click any button .

Thanks,
Sanjay

Sksamantaray, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response