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
How to identify the updated rows in a dataset?
What is commandbuilder in ado.net?
How is entity framework different from ado.net?
Define isolation?
What is data view and variable view?
What is difference between connected and disconnected architecture in ado.net?
What is the difference between an ADO.NET Dataset and an ADO Recordset?
What is the advantage of ado.net?
What is difference between sqldatareader and sqldataadapter?
What are the different execute methods of Ado.Net?
If a table contains 20000 records. In a page at each time 100 records to be displayed.
What are the uses of Stored Procedure?
What are the benefits of using of ADO.NET in .NET 4.0?
can we create synonymn in ms access,sql server,my sql if so explain me with example
What is data control techniques?