Connecting ASP.NET page to an external database
I have created a database in SQL Server 2008 and I want to use this database in my ASP.NET project to insert, update , delete records. Kindly help me in this regard.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Abhishek KumarRank #510 · 4.8K reputationPosted Sep 12, 2014, 3:26 AM EDT
In your Asp.net project find web.config file.
Add connection string in
Read the connection string from C# code and use it for insert, update , delete records.
Let me know if you want sample code?
Abhishek
Abhishek KumarRank #510 · 4.8K reputationPosted Sep 12, 2014, 3:27 AM EDT
YourDb server : server
Ramesh MaruthiRank #937 · 2.2K reputationPosted Sep 12, 2014, 6:26 AM EDT
Please follow this link dude
http://www.onlinebuff.com/article_step-by-step-select-insert-update-and-delete-using-aspnet-c-and-adonet_32.html