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 shadow copy?
What is the difference between a datareader and a dataset?
Which control of the BindingNavigator returns the current position within the data source?
Explain the difference between sqlcommand object and command behavior object?
What are typed and untyped dataset?
What are the data providers in ADO.NET framework?
Define bubbled event?
What is ado and dao?
What is data relation?
What is ado rdo dao in visual basic?
What are the advantages of oledb compared with other classes?
What are the difference between readonly vs. Const?
Explain the difference between data reader and data adapter?
What are the namespaces used in ado.net for data access?
What are the different methods by which we can populate a dataset?