Discussion Locked

How to connect asp.net to sql server

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Please help how to connect asp.net using sql server database

2 replies

by deepsand

Re-post this in the proper forum, i.e. the Questions forum; presently you are in the Discussions forum.

The latter is intended fro general, open-ended discussions on matters of broad interest; the former, for technical problems in need of a solution.

As there are those who deliberately seek out problems such as yours, with an eye toward providing aid when possible, you will be more likely to attract their attention if you use the Questions forum, by using the "Ask a Question" button.

by kbmanojkumar

Hi,

For connection to sql server using ASP.net, you have to define in Webconfig file.

Web config file

ASP.NET

using System.Data.SqlClient;
or
using System.Data.OleDb;

declare and open connection based on any one of the above definition.

This discussion is closed to new replies.