Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to use Windows service(Dot Net 2010) to store(User lock/unlock) data in remote sql database.i am using domain account
Posted

1 solution

Windows service is basically a program just like any other, it's just run continuously. So in your service you create a connection to SQL Server database (in another server), you define necessary credentials or user the same account info the service uses, use the correct database and so on. Basically much like creating a normal client application.
 
Share this answer
 

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