473,494 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to know when a job finishes?

Dim backUpDB2 As SqlClient.SqlCommand

backUpDB2 = New SqlClient.SqlCommand

backUpDB2.CommandType = CommandType.StoredProcedure

backUpDB2.CommandText = "msdb.dbo.SP_RESUMENFAC"

backUpDB2.Connection = SqlConnection1

backUpDB2.ExecuteNonQuery()

I have this sp that starts a JOB that takes 1 minute to finish. This job
takes information form an as400 system to the sql server database. and then
I fill some datagrid with the UPDATED INFORMATION but this iis not
happening. Because the sp only starts the job, I need to know when it has
finished to show the updated data,
Thanks.


Nov 18 '05 #1
0 818

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3074
by: Wrathchild | last post by:
when a thread finishes, it fires any event? How to get this event? thanks in advance.
6
5132
by: Ana | last post by:
Hi! I have problems with the following scenario: My application is developed using C# under .NET. It must run on all Windows versions starting from Windows 98. The user must open different...
6
1543
by: JohnR | last post by:
I'm running into a 'timing' or 'race' condition on my form. All textbox controls are bound to a datasource, but certain other controls (like labels) need to be updated when you move to a...
1
1951
by: Nodlehs | last post by:
While testing my pages in IE and Firefox, I have noticed that when I remove an image from the DOM before it has finished downloading in IE, that the status bar gets stuck at Downloading Picture...
6
10556
by: Ciaran | last post by:
I'm having a really strange issue with the DataGridView control in a VS2008 / .NET 3.5 winforms project. I have a simple form with a grid. In the form constructor I call a function to bind the grind...
0
7119
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6989
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7195
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6873
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5453
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4889
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
644
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
285
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.