Categories
Asp, Asp.net

How to Create Database Connection in Asp.Net

How to Create Database Connection in Asp.Net To make dynamic website,portals and online application, we require database (SQL Server,Access,MySQL,Oracle) etc. To create a database connection in asp.net follow the following steps:- 1. By using Web.config:- (i) Go to your web.config file and then locate theĀ <connectionStrings/>. Change it like this:- <connectionStrings> <add name="con" connectionString="Data Source=.; Initial […]