Click here to Skip to main content
15,905,912 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to create an application which automatically run on server and frequently interact with database. and whenever any record insert into the table then it get that record and perform some action using code on that record of database.
Posted
Comments
virang_21 8-May-13 2:17am    
Create console application and schedule it to run every few minutes or whatever frequency you want.. other option is to create windows service application and install it on the box and let it run and trigger action on timer control ....

1 solution

Here you are saying like you want to do some changes on that record after insertion. So it is better to write trigger for that table.
 
Share this answer
 
Comments
CHill60 8-May-13 10:39am    
My +5 - exactly the correct approach

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900