what is Execute NOn Query?
Answer Posted / hanna mae
You can use ExecuteNonQuery to change the data in a database
without using a DataSet. Do this by executing UPDATE,
INSERT, or DELETE statements.
Although ExecuteNonQuery does not return any rows, output
parameters or return values that are mapped to parameters
are populated with data.
For UPDATE, INSERT, and DELETE statements, the return value
is the number of rows affected by the command. For all other
types of statements, and for rollbacks, the return value is -1.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Explain all the classes those are used for database connections between sql server and asp.net?
What is the full form of ado.net?
Describe briefly an ADO.NET Dataset ?
How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?
Does entity framework use ado.net?
What does ole stand for in excel?
What is the role of the dataset object in ado.net?
What is an ADO.Net?
The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx
Why is ADO.NET serialization slower than ADO ?
How to copy the contents from one table to another table and how to delete the source table in ado.net?
Can we connect two dataadapters to same data source using single connection at same time?
What is an example of ordinal data?
Which is better entity framework or ado.net?
How does ado.net work?