Well organized easy to understand SQL. Including ASP.NET , SQL Server. Related: HTML, CSS, JavaScript, ASP, XML...
Friday, 13 February 2015
What is the difference between ExecuteScalar and ExecuteNonQuery?
ExecuteScalar returns output value where as ExecuteNonQuery does not return any value but the number of rows affected by the query. ExecuteScalar used for fetching a single value and ExecuteNonQuery used to execute Insert and Update statements.
No comments:
Post a Comment