correction to use connectionstring from SQL Query