Viewstate
How to store hundred members of information in viewstate of asp.net
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Priyaranjan K SRank #45 · 32.5K reputationPosted Oct 8, 2015, 7:09 PM EDT
Raja TRank #685 · 3.5K reputationPosted Oct 8, 2015, 5:35 PM EDT
http://www.c-sharpcorner.com/UploadFile/225740/what-is-view-state-and-how-it-works-in-Asp-Net53/
Raja TRank #685 · 3.5K reputationPosted Oct 8, 2015, 5:39 PM EDT
http://www.c-sharpcorner.com/UploadFile/0c1bb2/save-datatable-into-viewstate-and-bind-gridview-without-data/
Raja TRank #685 · 3.5K reputationPosted Oct 8, 2015, 5:46 PM EDT
Storing a DataSet inside of the ViewState is a bad practice. If the DataSet will hold hundred of records the ViewState will become very big and you'll get a panelty of performance in the browser page load.
You can save the data in the Session instead or reload it whenever neccesery.
Sujeet SumanRank #790 · 2.9K reputationPosted Oct 8, 2015, 9:02 PM EDT
Posted Oct 8, 2015, 9:43 PM EDT
Mukesh KumarRank #119 · 18.2K reputationPosted Oct 8, 2015, 10:10 PM EDT