Unless you mark your class as serializable, the system doesn't know that it's serializable just because it inherits from a serializable class. That is, the [Serializable] attribute doesn't automatically apply to subclasses. (If it did, you couldn't define a not-serializable class that descends from a serializable class.)
At 01:15 PM 10/4/2005, Franklin Gray wrote >Now that I finally got my object remoted, I'm getting this error. How do >I mark a strong typed datatable as serializable? I thought all datatables >were serializable by default. > > >The type MiddleTier.EquipmentDataset+C_EQP_TYPESDataTable in Assembly >MiddleTier, Version=1.0.2103.18875, >Culture=neutral, PublicKeyToken=null is not marked as serializable. J. Merrill / Analytical Software Corp =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com