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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Priyaranjan K SPosted Oct 8, 2015, 11:09 PM
Mukesh KumarPosted Oct 9, 2015, 2:10 AM
Posted Oct 9, 2015, 1:43 AM
Sujeet SumanPosted Oct 9, 2015, 1:02 AM
Raja TPosted Oct 8, 2015, 9:46 PM
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.
Raja TPosted Oct 8, 2015, 9:39 PM
http://www.c-sharpcorner.com/UploadFile/0c1bb2/save-datatable-into-viewstate-and-bind-gridview-without-data/
Raja TPosted Oct 8, 2015, 9:35 PM
http://www.c-sharpcorner.com/UploadFile/225740/what-is-view-state-and-how-it-works-in-Asp-Net53/