Monday, March 26, 2012

shering objects between pages

i have one Page ( form ) with VB.Net collection object.
i want to open other Page ( form ) and to pass him the collection from the first Page.
how do i do it ?You can save the object in the Session state [Session("myCollection")=myCollection and then on the next page, myCollection=CType(Session("myCollection"),<the type of the collection>) ].

0 comments:

Post a Comment