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
Is it possible to load multiple tables in a Dataset?
What are good ado.net object to replace to ado recordset object.
What are dcl commands?
What are the advantages using ado.net?
How to add a check box or a dropdown list to a column in a datagrid?
What is ado.net architecture?
Which database is the ado.net?
What is ado object model?
What are datareaders?
Define executenonquery?
What is ole in excel?
Explain how to call the sql commands asynchronously in ado.net version 2.0?
What is the difference between an ADO.NET Dataset and an ADO Recordset?
What is ado and rdo?
What is difference between dataset and datatable?