Google News
logo
ADO.NET - Quiz(MCQ)
Which of the following method of the command object is best suited when you have aggregate functions in a SELECT statement?
A)
ExecuteReader
B)
ExecuteNonQuery
C)
ExecuteScalar
D)
None of the Above

Correct Answer :   ExecuteScalar

Advertisement