Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. ADO.NET updates caching

ADO.NET updates caching

Scheduled Pinned Locked Moved Database
questioncsharpdatabasemysql
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ajenny
    wrote on last edited by
    #1

    Hi, Let's face it, I don't understand how I can do the following. Let's explain a little : * I have an online database (in fact mysql). I access this base through ByteFX's MySQLDataAdapter. * I have an application which can read data from it but also can modify them WITHOUT necessary doing a fill (updating the database back). In fact, this application could be closed without having done the updates, inserts, etc. * I do not have issues like online datas beeing changed or multi-people acceding the datas. Only this application is responsible of the database. What I want is when the application is launched again, the "not updated yet" part of the datas are still there. So I need to cache them in some file. What is the best approach to do that ? Thanks

    S 1 Reply Last reply
    0
    • A ajenny

      Hi, Let's face it, I don't understand how I can do the following. Let's explain a little : * I have an online database (in fact mysql). I access this base through ByteFX's MySQLDataAdapter. * I have an application which can read data from it but also can modify them WITHOUT necessary doing a fill (updating the database back). In fact, this application could be closed without having done the updates, inserts, etc. * I do not have issues like online datas beeing changed or multi-people acceding the datas. Only this application is responsible of the database. What I want is when the application is launched again, the "not updated yet" part of the datas are still there. So I need to cache them in some file. What is the best approach to do that ? Thanks

      S Offline
      S Offline
      sukesh g
      wrote on last edited by
      #2

      Hi, If there is a problem of data which is not updated in database are still there in application. You can go for cache the web page using the output caching for specifying some duration of time. <%@ outputcache=5%> --> this take 5 minutes duration of time.after that i getting the refreshed data to display on the page. i think this may work for you.. instead of cache in files. regards, sukesh.g Sukesh.g

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups