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
How do we sort the data from a dataset?
I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?
They mostly asked difference between versions of technologies
What does postback mean?
What are the steps to follow to host a web application on a web server?
Why do we use sessions?
Explain the Order of events in an asp.net page?
What kind of data we can store in viewstate?
What is the request flow used for asp.net mvc framework? : asp.net mvc
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?
What are the different authentication modes in asp.net?
Disable browser cache for entire ASP.NET website?
What is a session in asp.net?
What are the different session state management options available in asp.net?
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????