I need to store some sort of Name-Value collection in the Application State.
I keep trying different ones, but it errors out saying that they are not
serializable. Do I need to write my own or is there one in the Framework
that is serializable?
I've tried NameValueCollection, Dictionairy<string,string>,
StringDictionairy, etc...
What type does everyone else use that can be serialized?Hello INeedADip,
Application is itself a Name Value collection. So you can use the same.
HTH,
r.
> I need to store some sort of Name-Value collection in the Application
> State.
> I keep trying different ones, but it errors out saying that they are
> not serializable. Do I need to write my own or is there one in the
> Framework that is serializable?
> I've tried NameValueCollection, Dictionairy<string,string>,
> StringDictionairy, etc...
> What type does everyone else use that can be serialized?
>
Saturday, March 24, 2012
Serializing
Labels:
application,
asp,
collection,
errors,
name-value,
net,
saying,
serializing,
sort,
state,
store
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment