Serializing

Discussion in 'ASP .Net' started by INeedADip, Jan 20, 2006.

  1. INeedADip

    INeedADip Guest

    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?
     
    INeedADip, Jan 20, 2006
    #1
    1. Advertising

  2. 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?
    >
     
    Ranjan Sakalley, Jan 20, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Aidan Glendye

    Serializing classes derived from dataset

    Aidan Glendye, Jul 28, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    509
    Aidan Glendye
    Jul 28, 2003
  2. Jason Shohet
    Replies:
    4
    Views:
    367
    bruce barker
    Jul 29, 2003
  3. MattB

    problem de-serializing a dataset

    MattB, Apr 27, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    371
    MattB
    Apr 27, 2004
  4. Russ
    Replies:
    1
    Views:
    357
    Peter Morris
    Aug 10, 2004
  5. Natan
    Replies:
    5
    Views:
    1,629
    Natan
    Sep 27, 2004
Loading...

Share This Page