C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

Urgent !! Start SQL JOB from C# Database Application


Posted Date: 10 Oct 2008      Posted By: harpreet      Member Level: Gold     Points: 1   Responses: 2



Hi there,,

I have a database application created in VS2005 using C# lang. Its connected to the SQL database, that has some jobs. I want to be able to start one of the job from the application through button click event ..

can anyone hep me, how to do this ?? I think there must be a sql command which i need to write that will Execute this job ??

thanks..

harpreet





Responses

Author: Preet    10 Oct 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 1

Whats the SQL job, could you please sent the code?


Author: harpreet    10 Oct 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 4

No, i mean, i already have the job working in the SQL. But i want to be able to execute that job from the application, so that i wont have to open the sql server maintainance studio and run the job manually,,

is there a way that i can do that, by placing a sql command inside the button click event, so that when the button is clicke,, that job will fire up..

regards

Harpreet



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Display a popup window while selecting an item in a radiobutton list control
Previous : Authentication and authorization
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use