M
Miha Markic
Hi Paw,
Here you go:
SqlConnection conn = new SqlConnection("workstation id=YourComputer;packet
size=4096;integrated security=SSPI;initial catalog=Northwind;persist
security info=False");
DataTable table = new DataTable("Results");
SqlCommand command = new SqlCommand("Ten Most Expensive Products", conn);
command.CommandType = CommandType.StoredProcedure;
SqlDataAdapter adapter = new SqlDataAdapter(command);
adapter.Fill(table);
Here you go:
SqlConnection conn = new SqlConnection("workstation id=YourComputer;packet
size=4096;integrated security=SSPI;initial catalog=Northwind;persist
security info=False");
DataTable table = new DataTable("Results");
SqlCommand command = new SqlCommand("Ten Most Expensive Products", conn);
command.CommandType = CommandType.StoredProcedure;
SqlDataAdapter adapter = new SqlDataAdapter(command);
adapter.Fill(table);