what is execute scalar?

Answer Posted / usha

This method is used to execute commands that return single
value rather than resultset.

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between data reader and data adapter?

509


Give an example of a .net application which connects to microsoft access database using ado.net classes.

593


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

622


What is linq and entity framework?

517


What are the advantages and disadvantages of using datalist?

536






What are all the different methods under sqlcommand?

524


What is the use of sqldatareader class?

483


What property must be set and what method must be called in your code to bind the data from some data source to the Repeater control?

564


Which is faster sqldataadapter and sqldatareader?

502


What is the role of the dataset object in ado.net?

573


What is sqldatareader?

493


Define data adapter?

513


What is ado.net full form?

560


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


Which method is used by command class to execute SQL statements that return single value?

560