Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Persistence in WebParts
Message
 
À
18/08/2006 12:37:18
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Versions des environnements
Environment:
C# 2.0
Database:
MS SQL Server
Divers
Thread ID:
01146511
Message ID:
01146801
Vues:
21
Cool, thanks.

Chad



>Chad,
>
>>Will I have to write special serialization/decoding code to make that happen?
>
>Oh wow, like I said, it's been awhile since I've done this. <g> I'm not 100% sure if you have to make it serializable or not ... I *think* you don't have to, but I could be wrong.
>
>If you need to make your object serializable, all you need to do is add the attribute to your class ... something like this:
>
>[Serializable()]
>public class CustomObject
>{
>}
>
>
>I think when I played with this before, I only "saved" our Typed DataSets to the session object, and they were all serializable anyway.
>
>~~Bonnie
>
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform