I want to close the SqlConnection in the Finally since the using not really close it and the connection pool gets full. but I don\'t realize what\'s the right way to fo that
using (var conn = new SqlConnection(_dbconnstr)) { //code }
is expaded to:
SqlConnection conn = new SqlConnection(_dbconnstr); try { //code } finally { conn.Dispose(); }
So you should handle errors but you can forget about closing connection.