What is the difference between ExecuteReader,ExecuteNonQuery
and ExecuteScalar.
Answer Posted / rajesh
Execute Reader: it executes the command and returns the result
set of the command
Execute NonQuery: it executes the command and returns the
number of rows affected
Execute Scalar: it executes the command and returns only
first row first column value
| Is This Answer Correct ? | 46 Yes | 8 No |
Post New Answer View All Answers
In which event of the page life cycle, is the viewstate available?
What is asp.net? How is it different from asp?
How does session authentication work?
What is different authentication mechanisms used in ASP.NET?
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
How you will handle session when deploying application in more than a server?
What kind of programming language is ASP.NET?
How can u deifne the benefits and limitation of using Viewstate for state management?
Define common type system?
How will you maintain versioning in asp.net 2.0?
What are the server control tags in asp.net.?
What is Web API Routing?
Why will you usually create an aspnet user account in the database for an asp.net web application?
How can we register exception filter from the action?
What is the current version of asp.net?