Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.caching
Cache Notification in ObjectDataSource doesn't work with Datasets?
pkellnernews
4/10/2006 5:15:00 AM
I'm using the ObjectDataSource and dataset's as outlined in Scott
Guthries posting. My expectation was that SqlNotification in
sqlserver 2005 would work. However, I've been testing with the sql
profiler and the procedure SqlCachePolling is constantly polling. Now,
I read in the MSDN article
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.objectdatasource.sqlcache...
(VS.80).aspx
that:
To support notification, you must write the cache logic in the
implementation of your SelectMethod method and handle the construction
of the SqlCacheDependency object in your code.
How can I do this when I'm using the dataset as my type?
Am I missing something basic here?
Peter Kellner
http://peterk...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Cache Notification in ObjectDataSource doesn't work with Datasets?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password