Hi all, I can successfully store an array in a session variable like so:
string[] arr1 = new string[10];
Session["myarray"] = arr1;
But, when I try to display the elements (using the code below) on another
page I get this error:
txtmyarray.Text = Session["myarray"][0];
Cannot apply indexing with [] to an expression of type 'object'
The weird thing is that the code works fine in the immediate window while
debugging. Any thoughts?