ASP.Net with SQL-Server Connection

There are many method for connecting ASP.Net Application to SQL-Server. We are discussing basic three method below for connection. Method I Step 1 –   Import  Namespace             using System.Data.Sql; using System.Data.SqlClient; Step 2 – Delcare SqlConnection (Make Connection between Asp.Net Application to Sql Server) string  strconn = “Data Source=COMPUTERNAME\\SQLEXPRESS;Initial Catalog=’DataBaseName’;Integrated Security=True”; SqlConnection SqlConn = new […]

Read More