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 / suresh reddy
returns -1, since you can't find the how many rows effected because of your stored procedure.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are two important objects of ADO.Net?
What are the Features of a dataset
What are the different execute methods of Ado.Net?
What are the usages of the command object in ado.net?
What is ado code?
What is command class in ado.net?
In how many ways we can retrieve table records count? How to find the count of records in a dataset?
What are the several execute methods of ado.net?
Why is stored procedure used in ado.net?
What is full form of ado?
What are the advantages and drawbacks of using ado.net?
What is data relation?
Define the executescalar method?
Define executenonquery?
Which is faster sqldataadapter and sqldatareader?