C Celine Aug 19, 2004 #1 I am new to asp.net and C#. I was wondering if there is a way to store an arraylist in a session. Thank you
I am new to asp.net and C#. I was wondering if there is a way to store an arraylist in a session. Thank you
R Rutger Aug 19, 2004 #2 Celine said: I am new to asp.net and C#. I was wondering if there is a way to store an arraylist in a session. Thank you Click to expand... You can store almost any objerct you want in a Session. Remind that when you want to read back the session, you've got to cast that thing back to a ArrayList. //Rutger
Celine said: I am new to asp.net and C#. I was wondering if there is a way to store an arraylist in a session. Thank you Click to expand... You can store almost any objerct you want in a Session. Remind that when you want to read back the session, you've got to cast that thing back to a ArrayList. //Rutger
S Shiva Aug 19, 2004 #3 C#: Session.Add ("arrlist", <arraylist var>); <arraylist var> = (ArrayList) Session["arrlist"]; For VB.NET, Session.Add ("arrlist", <arraylist var>) <arraylist var> = CType(Session("arrlist"), ArrayList) I am new to asp.net and C#. I was wondering if there is a way to store an arraylist in a session. Thank you
C#: Session.Add ("arrlist", <arraylist var>); <arraylist var> = (ArrayList) Session["arrlist"]; For VB.NET, Session.Add ("arrlist", <arraylist var>) <arraylist var> = CType(Session("arrlist"), ArrayList) I am new to asp.net and C#. I was wondering if there is a way to store an arraylist in a session. Thank you