Well, if you actually want to cache objects, such as DataTables, you can use
the cache API,
function GetDate() as DataTable
dim cacheKey as string = "SomeUniqueKey"
dim dt as DataTable = ctype(Cache(cacheKey), DataTable)
if (dt is nothing) then
dt = getTheDataFromTheDatabase()
Cache.Insert(cacheKey, dt, null, DateTime.Now.AddMinutes(10),
Timespan.Zero)
end if
return dt
end function
--
http://www.openmymind.net/ http://www.fuelindustries.com/
"sam" <sa*************@googlemail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
Hi,
I know fragment caching where you can use a cached user control in a
non-cached page (or the opposite)
But without using a user control, how can I cache just a part of my
page (two datatables) but not the rest of the page ?