storing a GridView in a session variable does not work when the GridView has some dynamic created objects

After the postback I tried to retrieve the dynamically added rows (from the gdv in the session variable) and they are not there anymore, as if the session variable has been corrupted (I already know that I cant trust the GridView object after the postback, but I thought that a session variable would be and independent object), Can anybody explain this? Thanks

by culebrero via /r/csharp

Leave a Reply