How would u connect to database using .NET ?



SqlConnection nwindConn = new SqlConnection(”Data Source=localhost; Integrated Security=SSPI;” +
“Initial Catalog=northwind”);
nwindConn.Open();




Explore posts in the same categories: ASP.Net Interview Questions


BOOKMARK THIS : BlinkList | del.icio.us | Digg it | Furl | reddit | StumbleUpon | Yahoo MyWeb |


Comments are closed.