Re: Need to wait for TableAdapter.Update to finish
- From: "Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx>
- Date: Mon, 7 Apr 2008 13:10:58 +0200
Boris,
How are you updating the database, while using your save button.
Standard is this just a synchrone process.
Cor
"Boris227" <adrian_morris@xxxxxxxxxxxxxx> schreef in bericht
news:1bf92f36-6706-4696-9821-efbce22420f3@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have written an application that has a DataGridView for users to
amend a table. When finished they click a 'Save' button, which
generates a series of queries based on the new data. The problem is
this:
The underlying table is always updated correctly and when I step
through the code with the debugger it works perfectly, but when run it
live the events don't take account of the changes. This makes me
believe that the queries are not waiting for the update to complete.
Does this make sense? Can I do anything to make them wait?
Thanks
.
- Follow-Ups:
- Re: Need to wait for TableAdapter.Update to finish
- From: Boris227
- Re: Need to wait for TableAdapter.Update to finish
- References:
- Need to wait for TableAdapter.Update to finish
- From: Boris227
- Need to wait for TableAdapter.Update to finish
- Prev by Date: Re: temp directory question
- Next by Date: Re: Need to wait for TableAdapter.Update to finish
- Previous by thread: Need to wait for TableAdapter.Update to finish
- Next by thread: Re: Need to wait for TableAdapter.Update to finish
- Index(es):