I need to be able to serialize the class that can be found on this Telerik blog.
Download Class
I am trying to do this from within a Silverlight project to cache the data to the IsolatedStorageFile using the XMLSerializer. The problem that I am having is that I am getting an error message stating
To be XML serializable, types which inherit from IEnumerable must have an implementation of Add(System.Object) at all levels of their inheritance hierarchy. Telerik.Data.DataTable does not implement Add(System.Object).
I have been trying to modify the class to include an "Add" method but I have been unable to get it to work and I am uncertain as to what I am doing wrong.
I know that this is only loosely related to Telerik and their products, but I would greatly appreciate any assistance that anyone can provide.
Download Class
I am trying to do this from within a Silverlight project to cache the data to the IsolatedStorageFile using the XMLSerializer. The problem that I am having is that I am getting an error message stating
To be XML serializable, types which inherit from IEnumerable must have an implementation of Add(System.Object) at all levels of their inheritance hierarchy. Telerik.Data.DataTable does not implement Add(System.Object).
I have been trying to modify the class to include an "Add" method but I have been unable to get it to work and I am uncertain as to what I am doing wrong.
I know that this is only loosely related to Telerik and their products, but I would greatly appreciate any assistance that anyone can provide.