Define the executescalar method?



Define the executescalar method?..

Answer / Pratima

ExecuteScalar is an ADO.NET method that allows you to execute SQL commands which return a single value, such as SELECT COUNT(*) or SELECT TOP 1 column_name from table.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

Differentiate between Dataset and Recordset.

2 Answers  


Explain what a diffgram is and its usage ?

2 Answers  


What is difference between Dataview and Datatable?

1 Answers   Beahead Private Limited,


What is namespace in ado.net?

1 Answers  


Data reader read and forward only, how is it possible to get 2 tables of data at a time?

1 Answers  


What is a control toolbox?

1 Answers  


What is a column variable?

1 Answers  


What is maximum pool size in ado.net connection string?

1 Answers  


What we do with the object of ado.net dataset after using it?Can we dispose it or can we set it nothing?Is it must or not?

4 Answers   SVI,


describe about the ado.net object model

4 Answers   TCS,


What are all the commands used with Data Adapter?

1 Answers  


What is a datagrid?

4 Answers  


Categories