I am doing my database access methods to SQL Server like this
using (SqlConnection con = new SqlConnection(//connection string) { using (SqlCommand c
when the scope
using (SqlConnection con = new SqlConnection(//connection string) { }
will over , connection will automatically be disposed by runtime. so don't worry