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
Explain page output caching?
How do you create a master page?
What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.
Difference between Response.redirect vs server.transfer?
Is web config mandatory?
What is a SESSION and APPLICATION object?
What kind of data can be stored in viewstate?
Define tracing.
Why do we use sessions?
What is the concepts of globalization and localization in .net?
Why Unload event of MasterPage Calls first in ASP.net ?
List some of the important session state modes of asp.net.
How can you send an email message from an asp.net web page?
What is the difference between ASP.NET Webforms and ASP.NET MVC?
Describe how passport authentication works.