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 are the two types of web pages?
Briefly describe the role of global.asax?
What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC
How do I use a proxy server when invoking a web service?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
what is command line compiler.what are the steps and how it is related to debugging.
Define cookie.
How many types of validators are there in asp net?
What is server transfer?
What is server side session management?
How do you sign out from forms authentication?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
Explain what are the advantages of asp.net mvc framework? : asp.net mvc
Define satellite assemblies.
What is difference between viewstate and session in asp net?