forgive me, but you want to cache a dataset from UI?
If you use TBH, you should implement your own code, but you should too follow theBeerHouse logic (3 layers:DAL->BLL->UI)
So, if you have a dataset on UI, this dataset was sent by BLL, and if you want to cache it you should do it before UI)
If you are talking about forums, you can do:
Code:
'VB code - any class from your bll.Forums
Dim ds As New System.Data.DataSet
' ... (Call your dataset from DAL)
BaseForum.CacheData("key for your dataset", ds)
I hope it helped