typed DataSet remoting serialization

I have an object that returns via a method a typed Dataset. I've added to the typed Dataset a custom public string field named "dummy". Assigning a value to dummy and after serialization and deserialization on a different object the value is gone. The rest of the data is passed Ok.

I've created another dummy class with the same dummy field and tested the process of serialization after assigning a value and worked fine. I hade the value on the second object. So whats wrong with typed datasets

I work on .NET 2.0. I have tried to override to serialization and deserialiazation contructors but still no results. A workaround on the above examble was to declare a class with the typed dataset as properties among the others i want to carry. But the real problem is that I want to transfer function delegates for events which should be done inside the dataset.

Anyone can help



Answer this question

typed DataSet remoting serialization

  • KiranK

    Typed dataset has its own code to serialize and deserialize its state. The code does not take care of user-added fields. In order for the typed dataset to serialize your value it must be part of the datatable.

    I hope this clarifies.



  • DamageTime

    Try Serialization Studio tool from www.dotnetremoting.com
    It will do the job

  • typed DataSet remoting serialization