Groups | Blog | Home
all groups > asp.net caching > march 2004 >

asp.net caching : DataSet Persistance


Scott M.
3/17/2004 6:57:10 PM
I'd like to persist a DataSet between page calls.

Can someone give me specific code (VB.NET) examples of doing this using
ViewState as well as an example using the Application Cache (I know how to
get the DataSet, so please pick the example up from there)?

Thank you in advance!

Ravichandran J.V.
3/23/2004 3:40:34 AM
In FirstPage.aspx

Cache.Insert("myDataSet",ds)

In SecondPage.aspx
Dim ds as DataSet=CType(Cache.Get("myDataset"),DataSet)


with regards,


J.V.Ravichandran
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at http://www.Google.com

*** Sent via Developersdex http://www.developersdex.com ***
AddThis Social Bookmark Button