Wednesday 12 August 2015

What is return type of ExecuteScalar in C#.Net

The return type of ExecuteScalar() method is Object.
    ExecuteScalar method returns only one record from datasource then the return type of the ExecuteScalar is object.

No comments:

Post a Comment