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 openquery?
Which object of ado contains datarow datacolumn collection?
What are all features of ADO.Net?
Which object needs to be closed?
Define connection string?
What are disadvantages of microsoft-provided data provider classes in ado.net?
What is disconnected scenario in entity framework?
Can we load multiple tables in a dataset?
What is difference between connected and disconnected architecture in ado.net?
Does ado.net use odbc?
Which database is the ado.net?
What are the drawbacks of using ado.net?
Why do we need ado.net?
What is ambient transaction?
How to bind the controls(best practice) comboboxes to the data in the dataset?