5 Oct '14

Anupa Manipal

A professional Software Developer in VB.NET - SQL Server and learner of PHP. Expertise in implementation of various projects including designing, development, coding and implementation of software applications.

0 Shares

How to connect database in ASP.NET

This article will explain How to connect database in ASP.NET. Here we connect sql database from ASP.NET. Using ADO.NET you can connect to SQL server. Connection object needs the necessary informations like server name, database name, username, password, etc.

Put this connection string in Web.Config. Kindly replace with SQL Server name, Database name, Username and password:

Create the form :

VB code in the onclick event:

 Download source code:

facebook

About Anupa Manipal

A professional Software Developer in VB.NET - SQL Server and learner of PHP. Expertise in implementation of various projects including designing, development, coding and implementation of software applications.

Related Posts

Leave a Reply