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 are the essential features of ado.net?
Which object is used to add relationship between two Datatables?
Why do we serialize data?
What do you know about ado.net's objects?
How can we add relation between tables in a dataset?
What are dataproviders?
Some important instruction regarding ADO.NET connection string ?
What are advantages of microsoft-provided data provider classes in ado.net?
What is execute reader in ado.net?
Does executenonquery return a value?
Why edit is not possible in repeater?
What is full form of ado?
What is the use of SqlCommand object?
What is meant by executenonquery?
What is ado net stands for?