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

Explain server-side scripting?

1045


What is a query string in a url?

993


How to unit test Web API?

1206


What is the caspol.exe tool used for?

1016


What is the part of url?

984


Can we have multiple master pages in asp net?

988


Explain weak typing and strong typing.

983


What are sql notifications and sql invalidations?

947


How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?

1098


What is the usie of activex control in .net?

1008


How do you implement sql caching in asp.net?

1062


What are the different types of sessions in asp.net? Name them?

1185


Which object is used to encapsulate the state of the client and the browser in ASP.NET?

1101


Explain the Order of events in an asp.net page?

1025


Differentiate between namespace and assembly.

956