what is execute scalar?

Answer Posted / muthu kumar

when we want to retrieve data that has single value then we
can prefer to execute scalar.

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

oledbdataadpter with ms access in c#.net giving exception System.Data.OleDb.OleDbException while writing adapter.update(dataset,"tabname"); how to update the database from dataset?

1932


What is the use of connection object in ado.net?

568


What is the difference between Command and CommandBuilder object?

593


What are the different methods available under the sqlcommand class to access the data?

583


Command objects uses, purposes and their methods.

526






Why do we use sqldataadapter?

487


Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?

622


What Is Difference Between Ado And Ado.net?

564


What is the difference between executequery and executenonquery?

510


What is disconnected data?

584


The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx

1575


Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.

560


What is ole db and odbc?

521


What is microsoft ole db provider for sql server?

481


Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?

587