Persisting Properties?

Discussion in 'ASP .Net' started by eNew, Nov 21, 2005.

  1. eNew

    eNew Guest

    How do you persist a public property in a class in asp.net? If I set the
    property to a value programmatically, the value is gone as soon as the
    procedure is finished. So if I can't persist properties, what do I do to
    store values.

    Thank you for your help.
     
    eNew, Nov 21, 2005
    #1
    1. Advertising

  2. eNew

    Karl Seguin Guest

    It depends on the scope of the storage. Is it per-user>? per page-view? for
    the whole application?

    You might want to check out:
    http://openmymind.net/index.aspx?documentId=6

    Karl

    --
    MY ASP.Net tutorials
    http://www.openmymind.net/


    "eNew" <> wrote in message
    news:...
    > How do you persist a public property in a class in asp.net? If I set the
    > property to a value programmatically, the value is gone as soon as the
    > procedure is finished. So if I can't persist properties, what do I do to
    > store values.
    >
    > Thank you for your help.
    >
     
    Karl Seguin, Nov 21, 2005
    #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. JezB
    Replies:
    1
    Views:
    370
  2. Alessandro Zifiglio

    Persisting properties in templates and not the control itself

    Alessandro Zifiglio, Nov 9, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    176
    Alessandro Zifiglio
    Nov 9, 2003
  3. Phillyboy123

    Complex properties (Button) not persisting in webcontrol

    Phillyboy123, Nov 18, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    184
    Sam Fields
    Jan 15, 2004
  4. Steve Barker

    Properties not persisting at design time.

    Steve Barker, Jan 22, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    156
    Steve Barker
    Jan 22, 2004
  5. cpnet

    Persisting control properties at design time

    cpnet, Apr 19, 2004, in forum: ASP .Net Building Controls
    Replies:
    15
    Views:
    286
    Jeffrey Tan[MSFT]
    May 10, 2004
Loading...

Share This Page