Refresh Cache

From: Robert Eliasson (robert_at_gnetech.com)
Date: 07/20/04

  • Next message: Julio: "Re: Fields that match condition"
    Date: Tue, 20 Jul 2004 16:18:53 +1000
    
    

    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;


  • Next message: Julio: "Re: Fields that match condition"