+3  A: 

You should really page this data. You might want to have a look at this: PagedList

Paddy
I am using Nhibernate with asp.net mvc. I have the complete framework for my project. I am stuck at the controller [ returning data back to the view]. my options are 1. To use Jquery , Ajaxpost and return the Json object and append the data to the page. 2. use normal post and display the data on the page
kalyan
Thank you for you answer.
kalyan
5000 records by 10 elements is going to be a very large amount of data, even if the data per element is small... Your two options amount to largely the same thing and are going to be a pain for your users.
Paddy
A: 

A simple way to find out and probably good practice is to make sure you have that data to test and it will make it much easier to choose between differnt options. paging is one option but there are others. You may be surprised how quickly modern browsers can load that amount of data.

it should be easy enough with a vb.net page to generate all the data you need using random data. This is really essential if you want to be able to investigate what to do.

Toby Allen
Thank you for your comment. I have solved the problem. Please follow the link below.http://stackoverflow.com/questions/1539841/wait-untill-previous-append-is-complete-jquery
kalyan