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
How we can provide data to ado.net?
What are the advantages of using datalist?
What is ole word?
What is two way data binding android?
Compare Data Reader & Dataset in ado.net?
What are the Features and disadvantages of dataset
What is a non query?
What is Dataset Object?
how can implement dropdownlist in particular of dataset when try to update?
What are two important objects of ADO.Net?
What providers does Ado.net uses?
What is aggregate root?
What is the difference between a datareader and a dataset?
How to creating a SqlCommand Object?
What is the use of SqlCommand object?