How to connect sql database to your c# program

Recommended Answers

Depends on the type of database engine being used, but if you mean MSSQL then there are a lot of tutorials and sample code on the subject. For example, this one describes the …

Jump to Post

All 5 Replies

Depends on the type of database engine being used, but if you mean MSSQL then there are a lot of tutorials and sample code on the subject. For example, this one describes the process in detail.

Otherwise, try google search for "C# SQL Database".

in your webconfig file
in configuration tag
<connectionStrings>
write
</connectionStrings>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.