How to pass viewstate with generic values into datatable

List< ABC > lstABC = new List< Abc >();//MyList
ViewState["Test"] = lstAbc;    //passed to viewstate 
Datatable dt = (Datatable)ViewState["Test"]; // but datatable Not accepting viewstate with binded list values. 


from Recent Questions - Stack Overflow https://ift.tt/3cortXP
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)