Reading Session Classes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MeDhanush

    Reading Session Classes

    I'm trying to read all the session varialbes stored in Session, they
    could be simple integers to classes including datasets.

    When I do Session.Content s, it just gives you class name only.
    What is the way to read each class along with members, stored in
    Session ?

    Kishore
  • Kevin Spencer

    #2
    Re: Reading Session Classes

    Dim MyClass As SomeClass = CType(Session(" MyClass"), SomeClass)

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer

    Big Things are made up of
    Lots of Little Things.

    "MeDhanush" <medhanush@yaho o.com> wrote in message
    news:15e9d0f4.0 310231118.24cb1 d5d@posting.goo gle.com...[color=blue]
    > I'm trying to read all the session varialbes stored in Session, they
    > could be simple integers to classes including datasets.
    >
    > When I do Session.Content s, it just gives you class name only.
    > What is the way to read each class along with members, stored in
    > Session ?
    >
    > Kishore[/color]


    Comment

    Working...