Hello,
I would like to save a class collection into the viewstate but I get the following error:
"The type 'WebApplication2.Users' must be marked as Serializable or have a TypeConverter other than ReferenceConverter to be put in viewstate"
I have a "Users" which is a collection of "User" classes. Is there an easy way to save it into the viewstate?
Thank you.
Let me put it this way:
While StressLevel Is High
Productivity -= 1
Marriage = Nothing
End While
I would like to save a class collection into the viewstate but I get the following error:
"The type 'WebApplication2.Users' must be marked as Serializable or have a TypeConverter other than ReferenceConverter to be put in viewstate"
I have a "Users" which is a collection of "User" classes. Is there an easy way to save it into the viewstate?
Thank you.
Let me put it this way:
While StressLevel Is High
Productivity -= 1
Marriage = Nothing
End While