Click to See Complete Forum and Search --> : Can we store a datatable or dataset in client [plz help]


nison_jose
November 18th, 2004, 04:41 AM
I want to store some data,usually datas from table in the client side so that my site will be much more faster.Now my site is very slow since in each call I have to go to server to fetch the data.
If I can maintain the data in the client it will be much faster.So I want to maintain the data in the client. Is .net provide any thing to support this.If so please replay to me. Or is there any other way to do this. Is there some way to store the datas from the server database in the file in client.

I heared from some one that we site can store the data in files in client.If anybody know it how,Plz explain me.

I posted 2 forums about my doubts Nobody replay me.Is there nobody to help me.I am a fresher and have less knowledge.Will any body help

mmetzger
November 18th, 2004, 09:44 AM
You can store it in the viewstate assuming you can serialize the data properly. It's not necessarily a good idea as it will increase the size of the page sent to the client (and read on each return) not to mention make it possible for the client to have a disconnected view of the database.

It's usually better to do paging on the datagrid / etc or find a way to minimize round trips, etc.

That said, look around for articles on storing information in viewstate. It should give you what you need to know. Also, if you decide to do this, make sure you're using compression on page transfer. It will cut down the amount of data required for transfer.

nison_jose
November 19th, 2004, 05:16 AM
Thanks for Ur help.I search for the topic U sugessted and go through it.It was very informative .ThankU for that.