Anil Rawat
What is difference between Execute Scalar and Execute Reader in ADO.NET?
By Anil Rawat in Reports using C# on Oct 14 2012
  • Kiran Mahajan
    Sep, 2016 27

    ExecuteScalar() only returns the value from the first column of the first row of your query. ExecuteReader() returns an object that can iterate over the entire result set. ExecuteNonQuery() does not return data at all: only the number of rows affected by an insert, update, or delete.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS