per ottenere un singolo valore dovresti usare ExecuteScalar.
http://msdn.microsoft.com/it-it/libr...utescalar.aspx
ExecuteReader restituisce righe, non celle.
per ottenere un singolo valore dovresti usare ExecuteScalar.
http://msdn.microsoft.com/it-it/libr...utescalar.aspx
ExecuteReader restituisce righe, non celle.