Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to connect to mssql database and add update delete data in it ?
Posted
Comments
Kenneth Haugland 21-Jul-12 8:48am    
I think I want money for answering this question. Or you could try google. Simple answer is: Set up server. Program in C#.

1 solution

Well, by using a Connection String[^], you will connect to your database. Post that, use ADO.NET to get data. Info regarding the data communication can be read here: Accessing data with ADO.NET[^]

Additional read: Beginners guide to accessing SQL Server through C#[^]
 
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