I have a problem when using a Linq to sql class to fetch data but at runtime it givse me a runtime exception that class XYZ is not serialized. i would like to know if someone could help with this
If youre trying to serialize the DataContext, you're not going to get that to work. Its just not serializable. If its one of your data classes, just slap [Serializable] on the class XYZ and it should work... although you might want to rethink bringing that class back, as that will start requiring what should be server side only assemblies on your client.
Copyright (c) Marimer LLC