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
Why is stored procedure used in ado.net?
Which is faster ado.net or linq?
How to aggregating data across related tables?
Explain the difference between data reader and data set?
How will you fill the gridview by using datatable object at runtime?
Can we do database operations without using any of the ado.net objects?
How do you connect to sql server database without using sqlclient?
How to create data relations?
How can we save all data from dataset?
What is a dynaset in access?
What are the different methods available under the sqlcommand class to access the data?
What is sql command in ado net?
What is the difference between ADO and ADO.Net?
What is csdl entity framework?
What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?