sanderrossel.com
Using C# to connect to and query from a SQL database | Sander's bits
Use C# to query data from a SQL Server database using ADO.NET and best practices with SqlConnection, SqlCommand and SqlDataReader.