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
What is the namespace to create thread in .net?
How you can access the values from the Repeater control in ASP.NET?
What is is post back property in asp net?
Explain the difference between an exe and a dll?
What is content page in asp net?
What is the compiled object?
Can action method static?
To display data in a Repeater control which template you provide?
Do gac'ed assemblies have fulltrust?
What is full trust in asp.net?
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
Can a .net web application consume java web service?
What is windows active directory authentication?
How would you get asp.net running in apache web servers? Explain it's limitations.
Explain about asp.net state management?