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 are the benefits of using of ADO.NET in .NET 4.0?
What is ado recordset?
What is the difference between Data adaptor and Data set?
Which is better ole db or odbc?
What are the advantages and disadvantages of using datalist?
What is shadow copy?
What is ado.net explain with diagram?
What is the meaning of object pooling?
What is Dataset Object?
Give few examples of datareader that is used in different dataproviders.
Explain the difference between an ado.net dataset and an ado recordset?
Which is faster sqldataadapter and sqldatareader?
How can we check that some changes have been made to dataset since it was loaded?
How do you update database through dataset?
Explain which name space is used to get assembly details?