How to use LINQ in ASP.NET Web Application with C#. Connectivity between ASP.Net and SQL – Server using LINQ.
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 […]