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

If i am expecting a single result from sqlserverdatabase
then what command should i follow ?sqlcommand.executereader
(commandbehaviour.singleresult)or sqlcommand.executescalar()

Answer Posted / raji

single result

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is openquery?

967


Which object of ado contains datarow datacolumn collection?

950


What are all features of ADO.Net?

971


Which object needs to be closed?

2245


Define connection string?

1051


What are disadvantages of microsoft-provided data provider classes in ado.net?

1016


What is disconnected scenario in entity framework?

1092


Can we load multiple tables in a dataset?

1103


What is difference between connected and disconnected architecture in ado.net?

1138


Does ado.net use odbc?

933


Which database is the ado.net?

952


What are the drawbacks of using ado.net?

957


Why do we need ado.net?

940


What is ambient transaction?

926


How to bind the controls(best practice) comboboxes to the data in the dataset?

1036