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
Does dapper use ado.net?
What connected data?
What is the use of ADO.NET and XML web services?
Explain all the classes those are used for database connections between sql server and asp.net?
What is the difference in an abstract class and an interface?
What are the methods of XML dataset object?
What is sqldatasource?
How will you fill the gridview by using datatable object at runtime?
What does adodb stand for?
What is the difference between ado.net and entity framework?
Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?
What is data relation in ado.net?
How do you implement locking concept for dataset?
Explain the difference between an ado.net dataset and an ado recordset?
What is executenonquery ado.net?