List Output Help
How would I create a list then on click add data to the list which is then stored into a session variable, then on another page retrieve the variable and output them? Currently I have:
List <myClass> listName=new List<myClass>
I need to get the whole list and add output the list so I can output (hopefully) the ‘3’ and ‘4’.
List<myClass> listNames = (List<myClass>)Session[“IDs”];
You can read about it on MSDN: ASP.NET Session State Overview