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

What is asp.net web pages?

940


Explain an object, class and method.

951


Which class is used to send an email message from an ASP.NET Web page?

969


What do you mean by serialize?

938


What is viewstate? What does the “enableviewstate” property do?

884


what are the security certificates used in webservices?

1953


How we implement web farm and web garden concept in asp.net?

966


Define page fragment caching?

875


What is form method?

879


What is bound controls

1011


What is a swagger in web api?

1002


How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?

4147


How does http session work?

948


How to disable disable browser's Back button in asp.net (JavaScript)?

1078


Why is string called immutable data type?

1000