pointeman
asked on
Session String[] Array?
Q. How do I send & recieve a string[] in a Session?
string[] names = new string[3] {"Matt", "Joanne", "Robert"};
Session("nameArray") = names???
string[] names = new string[3] {"Matt", "Joanne", "Robert"};
Session("nameArray") = names???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Okay, then access the info like:
string matt = names[0].ToString();
string joanne = names[1].ToString();
string matt = names[0].ToString();
string joanne = names[1].ToString();
Yeah... once you get the array object
then you can play around with it in normal way
then you can play around with it in normal way
ASKER
thx
string[] names = new string[3] {"Matt", "Joanne", "Robert"};
Session["nameArray"] = names;