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
What is Dataset Object?
Give few examples of datareader that is used in different dataproviders.
What is the use of sqldatareader class?
How do you find the count of records in a dataset?
What are the Features and disadvantages of dataset
Why ca not we use multiple inheritance and garbage collector paralelly in .net?
What is openrowset?
Why is stored procedure used in ado.net?
Explain what are the steps to connect to a database?
What is microsoft ado.net?
What is ado.net and its features?
Define different execute methods of ADO.NET command object ?
What are the advantages and disadvantages of using datalist?
How is entity framework different from ado.net?
What are the different row versions available in table?