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. Advertisements

  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. Advertisements

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:
    649
    Aidan Glendye
    Jul 28, 2003
  2. Jason Shohet
    Replies:
    4
    Views:
    474
    bruce barker
    Jul 29, 2003
  3. MattB

    problem de-serializing a dataset

    MattB, Apr 27, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    441
    MattB
    Apr 27, 2004
  4. Russ
    Replies:
    1
    Views:
    454
    Peter Morris
    Aug 10, 2004
  5. Natan
    Replies:
    5
    Views:
    1,802
    Natan
    Sep 27, 2004
  6. Leszek Taratuta
    Replies:
    13
    Views:
    1,103
    Leszek Taratuta
    Nov 17, 2004
  7. venky

    asp.net serializing

    venky, Jan 12, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    613
    =?ISO-8859-1?Q?=22Anders_Nor=E5s_=5BMCAD=5D=22?=
    Jan 13, 2005
  8. Akshay Kumar
    Replies:
    1
    Views:
    441
    Bruce Barker
    Sep 28, 2005
Loading...