I want to serialize SPList object. When i tried, it kept showing me error that SPList is not serializable. Is there any way to serialize SPList object?
SPList objects contain SPListItem than are not serializable; however you can wrap these object as described in this post (serialize SPList) another option is to serialize a DataTable :
SPList objects contain SPListItem than are not serializable; however you can wrap these object as described in this post (serialize SPList) another option is to serialize a DataTable :