ADO.NET updates caching
-
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
-
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
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