I\'m trying to return a single row from a database:
using (connection = new SqlConnection(ConfigurationManager.AppSettings[\"connection\"])) { using (command
First of all you can use the cast (string)reader["col_1"]. You are probably expecting a string and reader["col_1"] is an object.
(string)reader["col_1"]
reader["col_1"]
object