What method of the Command object would you use if you need to retrieve a single value (for example an aggregate value. from a database
A. ExecuteScalar(.
B. ExecuteReader(.
C. ExecuteSingle(.
D. ExecuteNonQuery(.
Answer:A
What method of the Command object would you use if you need to retrieve a single value (for example an aggregate value. from a database
A. ExecuteScalar(. B. ExecuteReader(. C. ExecuteSingle(. D. ExecuteNonQuery(.