Cannot implicitly convert type 'System.Data.Common.DbDataReader' to 'string'
<p>I keep getting an error for reader. I just want to be able to return the single value from the reader. Can anyone please help me?</p>

<pre><code>        DbProviderFactory factory = DbProviderFactories.GetFactory("System.Data.SqlClient");

        DbConnection conn = factory.CreateConnection();

        conn.ConnectionString = ConfigurationManager.ConnectionStrings["CompanyConnection"].ConnectionString;

        DbCommand comm = conn.CreateCommand();
        comm.CommandText = "getStockPrice";
        comm.CommandType = CommandType.StoredProcedure;

        DbParameter param = comm.CreateParameter();
        param.ParameterName = "@company";
        param.Value = CompanyName;
        param.DbType = DbType.String;
        comm.Parameters.Add(param);
        conn.Open();

        DbDataReader reader = comm.ExecuteReader();
        string stock = reader;
        reader.Close();
        conn.Close();
        return Convert.ToDouble(stock);
</code></pre>

<p>This is the stored procedure:</p>

<pre><code>        @company varchar(50)
    AS
Select stockPrice From Company_t
where companyName = @company;
</code></pre>
