Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have to fetch data record by record from 1,00,000 of records in a single form by passing Empid , How should i do,

Could u suggest The best fastest way of data retriving way

my thought is: - Storing Dataset in DataCache
- ajax calls to webmethods with jquery



Thank you in advance .
Posted
Updated 15-Feb-14 2:01am
v2
Comments
Simon_Whale 14-Feb-14 11:52am    
do you need to show all of the information at once? if not then why not look at paging the data in a grid?
JoCodes 15-Feb-14 8:05am    
Display all record at once?

1. use Repeater for binding Data instead of Grid
2. Create a view 
 
Share this answer
 
No user would look at these much of records on a page.
So, what you can do is, just fetch the number of records you want to show on a page.
Also implement Custom Paging, that means you will design one SQL Procedure which will take input as Page Number and the Number of Records you need and return you accordingly.

You can see one Example - Custom Paging in ASP.Net GridView using SQL Server Stored Procedure[^].

And yes as you said, you can implement jQuery Ajax to get the Data and bind to GridView.
You can also use jQGrids.
 
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