32 con = new SqlConnection("Server=(local)\\SQLEXPRESS;Initial Catalog=MyDatabase;Integrated Security=SSPI"); 33 34 SqlCommand cmd = new SqlCommand(); 35 cmd.CommandText = "SELECT TOP 5 FirstName, LastName FROM Employee"; 36 cmd.Connection = con; // YOU ARE HERE ^_^ 37
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)