which one is faster execute reader, scalar, execute non
query ?
Answer Posted / d k
Wrong Question , As ExceuteReader(),ExecuteNonQuery() and
ExecuteScaler() interact to database in same manner and we
all Know about the ExceuteReader(),ExecuteNonQuery() and
ExecuteScaler() serves for different purpose , as
ExceuteReader() reads data against select query ,
ExecuteScaler() reads single cell value and
ExecuteNonQuery() used for action query not returns any
result set.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is asp.net web pages?
Explain an object, class and method.
Which class is used to send an email message from an ASP.NET Web page?
What do you mean by serialize?
What is viewstate? What does the “enableviewstate” property do?
what are the security certificates used in webservices?
How we implement web farm and web garden concept in asp.net?
Define page fragment caching?
What is form method?
What is bound controls
What is a swagger in web api?
How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?
How does http session work?
How to disable disable browser's Back button in asp.net (JavaScript)?
Why is string called immutable data type?