G
Guest
When I try to put a DataRow object into ViewState, I get the following error:
The type 'System.Data.DataRow' must be marked as Serializable or have a
TypeConverter other than ReferenceConverter to be put in viewstate.
Right now I have to create a new DataTable object with excepted structure
and call the ImportRow method and save the DataTable object to the ViewState.
Is there a better way?
The type 'System.Data.DataRow' must be marked as Serializable or have a
TypeConverter other than ReferenceConverter to be put in viewstate.
Right now I have to create a new DataTable object with excepted structure
and call the ImportRow method and save the DataTable object to the ViewState.
Is there a better way?