I have a c#2010 winforms application connected to an access database
The database is networked, and occasionally when something is updated in the database, then displayed back on screen... the update does not appear to have been actioned because the screen displays the old data, even though the screen has re-queried the database for the fresh data.
Is this just something that I am going to have to live with? I have tried putting a 3 second delay before re-displaying the data, but even this does not always give enough time..
public void wait(int seconds)
System.Threading.Thread.Sleep(seconds * 1000);
my code works as follows:
update the record
wait for 3 seconds
re-query the database and display the results.
so, my question is, does pausing the application like above, also pause the update to the database?