abhinayp86
asked on
Gridview Viewstate
When ever i try assign a gridview in viewstate
ViewState("Something")=Gri dView1
i get this error
Type 'System.Web.UI.WebControls .GridView' in Assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d 50a3a' is not marked as serializable.
Any idea why is that?
It works good for session
Session("something")=gridv iew1, i get no error
Thanks
ViewState("Something")=Gri
i get this error
Type 'System.Web.UI.WebControls
Any idea why is that?
It works good for session
Session("something")=gridv
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER