Serialization

  • Thread starter Thread starter Chakravarthy
  • Start date Start date
C

Chakravarthy

I wanted to store the object of a .NET C# class in the image column of SQL
Server, so i added the [Serializable] attribute to the class. At run time,
it kept throwing exceptions referring to some related class not being
serialized. This kept on and on.

If a class has to be serialized, is there any rule on which relations also
need to be serialized ?
 
Any class that is part of a class that is serialized must be serializable.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
Back
Top