rodchar,
To store in viewstate:
Viewstate.Add("MyString", "This is my variable")
Viewstate.Add("MyInt", 13)
To store in session:
Session.Add("MyString", "This is my variable")
Session.Add("MyInt", 13)
Where MyString and MyInt are the keys and then any object may be added as
the value.
To retrieve:
Dim MyString As String = Viewstate.Item("MyString").toString
Dim MyInt As Int32 = CType(Viewstate.Item("MyInt"), Int32)
Dim MyString As String = Session.Item("MyString").toString
Dim MyInt As Int32 = CType(Session.Item("MyInt"), Int32)
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche