Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What’s the difference between asp.net web forms and asp.net mvc?

1091


Why we are using mvc instead of asp.net? : Asp.Net MVC

981


How to rename a table using sql queries?

1029


What is the asp.net mvc folder conventions? : asp.net mvc

874


What is Web Server Control Templates.?

1014


What does asp stand for in asp.net?

938


What are Master Pages in ASP.NET?

1023


List the asp.net validation controls?

901


What is http post action?

960


Is asp.net different from asp? If yes, explain how?

971


Can you change a master page dynamically at runtime? How?

875


Define a web service in .net?

1017


Why session is necessary in web application?

919


how to elimainte the similar data from the different tables

2121


What is the function used for removing an event listener?

977