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 does adodb stand for?

1059


What is DataRowCollection?

1110


How to maintain the relation between two tables in ADO.NET?

1014


What is a non query?

938


What is ado and rdo?

904


What is the default provider in ado.net?

968


Explain the basic use of "dataview" and explain its methods.

1005


Why do we use sqldataadapter?

954


How can we perform transactions in .net?

1062


What are the advantages and drawbacks of using ado.net?

1110


What is ado recordset?

999


Explain the overview of ado.net architecture?

1048


What is data access pattern?

951


Explain how can we load multiple tables in to dataset?

946


What is dataset object? Explain the various objects in dataset.

1052