How can I store a dataset in a session object?

uck7vkaw

New Member
How can I store a dataset in a session object? <BR>Thanks in advance.You should just be able to put it into the session object just like anything else:<BR><BR>'to save, do this:<BR>dim ds1 as new Dataset()<BR>Session("mydataset") = ds1<BR><BR>'to get it out of the session later:<BR>dim ds2 as DataSet = Session("mydataset")<BR>'here ds2 now contains what was in ds1<BR><BR>Unless i'm missing something about what your asking, this should work fine.<BR>
 
Back
Top