Execute nonquery returns no. of afected rows.So if my stored
procedure hav lot of select stmnt, delete stmnt, insert
stmnt..then what does execute nonquery returns in this case?
Answer Posted / sireesha
ExecuteNonQuery() returns one one value. the return type of
ExecuteNonQuery is integer. It returns the value that are
effected by the executeNonQuery() statement.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between linq and ado.net?
What is ado.net objects?
What is untyped dataset?
What is connection in ado.net?
What is full form of ado?
Command objects uses, purposes and their methods.
How to aggregating data across related tables?
What is the role of the dataset object in ado.net?
What is the DataTableCollection?
How would you connect to database using .NET?
What do you mean by performing asynchronous operation using command object?
What are the core objects of ADO.NET?
Explain the difference between an ado.net dataset and an ado recordset?
Explain how to find the given query is optimised one or not?
What does executenonquery () method return?