Home All Groups Group Topic Archive Search About

updates to cached datasets commited instantly?

Author
27 Dec 2006 10:40 PM
xamman
if i share a dataset & dataadapter in a web apps cache,

and i have a webform which in page.load does a
         dataadapter1=cache("adapter1")
         dataset1=cache("dset1")

and user edits data submits & triggers  a
         dataadapter1.update(dataset1)

at this point i did find the data in the database updated. i would have
thought i needed to flush the cache or something similar, but from what
i see i *guess* this is being handled automatically and being done
instantly?

thx

Author
28 Dec 2006 6:41 PM
xamman
any takers?

Show quoteHide quote
On Dec 27, 11:40 pm, "xamman" <xamma***@yahoo.com> wrote:
> if i share a dataset & dataadapter in a web apps cache,
>
> and i have a webform which in page.load does a
>          dataadapter1=cache("adapter1")
>          dataset1=cache("dset1")
>
> and user edits data submits & triggers  a
>          dataadapter1.update(dataset1)
>
> at this point i did find the data in the database updated. i would have
> thought i needed to flush the cache or something similar, but from what
> i see i *guess* this is being handled automatically and being done
> instantly?
>
> thx
Author
28 Dec 2006 7:14 PM
RobinS
You could post to microsoft.public.dotnet.framework.aspnet if nobody
here answers your question.

Robin S.
---------------------------------
Show quoteHide quote
"xamman" <xamma***@yahoo.com> wrote in message
news:1167331280.552167.282710@n51g2000cwc.googlegroups.com...
> any takers?
>
> On Dec 27, 11:40 pm, "xamman" <xamma***@yahoo.com> wrote:
>> if i share a dataset & dataadapter in a web apps cache,
>>
>> and i have a webform which in page.load does a
>>          dataadapter1=cache("adapter1")
>>          dataset1=cache("dset1")
>>
>> and user edits data submits & triggers  a
>>          dataadapter1.update(dataset1)
>>
>> at this point i did find the data in the database updated. i would
>> have
>> thought i needed to flush the cache or something similar, but from
>> what
>> i see i *guess* this is being handled automatically and being done
>> instantly?
>>
>> thx
>
Author
28 Dec 2006 8:20 PM
xamman
thanks for the  pointer