Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cmd.ExecuteNonQuery();

Status
Not open for further replies.

rstum2005

Programmer
Jun 9, 2005
117
US
I am executing an update command on a database and am wondering if this command finishes before it runs the next function or is it running the next function seconds after it starts the running the command. In other words I need the update command to finish before the next function starts.

cmd.ExecuteNonQuery();
nextfunction();
 
For those who are interested, I did create a test situation in which I executed a job, this job did not finish before the next function ran.

So I have answered my own question ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top