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...

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


Please Help Members By Posting Answers For Below Questions

Define globalization and localization.

1040


What is a user session?

930


How does session state work in asp.net?

1068


How may clustered index we can create in table?

1051


What are triggers of an updatepanel?

1027


How can we Validate a Controls in ASP.NET page using JavaScript?

1260


Explain the updatepanel?

1075


What is difference between asp state management and asp.net state management?

1147


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

2094


What is in a session cookie?

1011


What are app services?

995


What is the exact purpose of http handlers?

1061


How can we call webservices in Banking Applications? and where we are using it?

2158


What is session mode in asp.net?

1092


What is the difference between Classic ASP and ASP.Net?

1169