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 server-side scripting?
What is a query string in a url?
How to unit test Web API?
What is the caspol.exe tool used for?
What is the part of url?
Can we have multiple master pages in asp net?
Explain weak typing and strong typing.
What are sql notifications and sql invalidations?
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
What is the usie of activex control in .net?
How do you implement sql caching in asp.net?
What are the different types of sessions in asp.net? Name them?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
Explain the Order of events in an asp.net page?
Differentiate between namespace and assembly.