First of all, here comes the load part.
Structure MainStruct
Dim Ans1 As String
Dim Ans2 As String
End Structure
Dim Build As New List(Of MainStruct)
...
...
...
Session("MyData") = Build
The question is how can i read back the contents of the list, stored in the Session?
I mean something like…
Build = Session("MyData")
Instead of
Build = Session("MyData").Ans1you will want to doYou could also do a
DirectCastinstead ofCTypeif you want.Edit: to question change
To then read back the results you will be able to go through Build.
You could loop through it with a for each, a for, some linq, whatever you want!