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
Explain how to copy the contents from one table to another table and how to delete the source table in ado.net?
What we do with the object of ado.net dataset after using it?
What is meant by executenonquery?
What is aggregating data ?
What are all features of ADO.Net?
What is an ado connection?
What does datareader object do?
What is the difference between the clone() and copy() methods of the dataset class?
What is the default timeout specified for "sqlcommand.commandtimeout" property?
Does executenonquery return a value?
What is disconnected scenario in entity framework?
What are the core objects of ADO.NET?
Which provider is used to connect ms access, oracle, etc…?
Give an example of a .net application which connects to microsoft access database using ado.net classes.
Explain the differences between oledb sql server, oledbdotnet provider?