Which of the following method of the command object is best suited when you have aggregate functions in a SELECT statement?

Options
- ExecuteScalar
- ExecuteReader
- ExecuteNonQuery


CORRECT ANSWER : ExecuteScalar

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement