Re: Refresh Cache
From: William \(Bill\) Vaughn (billvaRemoveThis_at_nwlink.com)
Date: 07/20/04
- Previous message: William \(Bill\) Vaughn: "Re: Visual Basic .NET connect to SQL Server 2000"
- In reply to: Robert Eliasson: "Refresh Cache"
- Next in thread: Robert Eliasson: "Re: Refresh Cache"
- Reply: Robert Eliasson: "Re: Refresh Cache"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Jul 2004 10:50:58 -0700
Yes, this has been discussed (many times) before. I would search Google for
tips.
Offtimes we simply wrap the operation (the UPDATE) in a transaction. The JET
gurus know about other options that you can set... but I don't work much
with JET (I spend more time trying to convince folks to switch to SQL
Server/MSDE/SQL Express that do not have these issues.
Incidentally, JET is not a good choice for a web site... MSDE is far more
suited for this task.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"Robert Eliasson" <robert@gnetech.com> wrote in message
news:eToMuFibEHA.4092@TK2MSFTNGP11.phx.gbl...
> Hi!
>
> I must be the last one on the planet to know.
>
> I use a JET database for a webpage. When I delete rows it doesn't reflect
on
> the page. I assume it has to do with the caching of the JET object. Does
> anyone know how to refresh this stuff. I do not want to use JRO for as far
> as I can understand it requires a ADO conncetion (as opposed to a ADO.NET
> connection).
>
> Isn't it weird how hard it is to find onfo about this as it must be a
major
> issue for all developers?
>
> Grateful for tips!
>
> !Robert
>
>
>
> PS I am using code like:
>
> System.Data.OleDb.OleDbConnection cn;
> cn = new System.Data.OleDb.OleDbConnection();
> cn.ConnectionString =
>
System.Configuration.ConfigurationSettings.AppSettings.Get("ConnectionString
> ").ToString();
> cn.Open();
> System.Data.OleDb.OleDbCommand cmd = new System.Data.OleDb.OleDbCommand();
> cmd.Connection = cn;
>
>
>
>
>
>
- Previous message: William \(Bill\) Vaughn: "Re: Visual Basic .NET connect to SQL Server 2000"
- In reply to: Robert Eliasson: "Refresh Cache"
- Next in thread: Robert Eliasson: "Re: Refresh Cache"
- Reply: Robert Eliasson: "Re: Refresh Cache"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|