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 is the namespace to create thread in .net?

986


How you can access the values from the Repeater control in ASP.NET?

1106


What is is post back property in asp net?

1065


Explain the difference between an exe and a dll?

1052


What is content page in asp net?

997


What is the compiled object?

2133


Can action method static?

1083


To display data in a Repeater control which template you provide?

1086


Do gac'ed assemblies have fulltrust?

1123


What is full trust in asp.net?

1171


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?

2172


Can a .net web application consume java web service?

1021


What is windows active directory authentication?

1109


How would you get asp.net running in apache web servers? Explain it's limitations.

1039


Explain about asp.net state management?

1082