what is execute scalar?

Answer Posted / tonny

Executes the query, and returns the first column of the
first row in the result set returned by the query.
Additional columns or rows are ignored.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to pass values into a datatable?

586


Which is the best method to get two values from the database?

513


How can we add/remove row's in "datatable" object of "dataset"?

529


Can we connect two dataadapters to same data source using single connection at same time?

524


What are the usages of the command object in ado.net?

544






What is the difference between sqldatareader and sqldataadapter?

484


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

575


Why is stored procedure used in ado.net?

540


What is ole in vb?

500


What are the data access namespaces in .NET?

622


What is the provider being used to access oracle database?

494


Describe briefly an ADO.NET Dataset ?

540


What is sql connection in ado.net?

488


Which object of ado contains datarow datacolumn collection?

504


What is partial class?

543