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
What is csdl entity framework?
What are the various methods provided by the DataSet object to generate XML?
What is the return type of executescalar?
What is ado.net tutorial?
What is partial class?
What are the disadvantages of using datalist?
What does ado stand for in ado.net?
How to copy the contents from one table to another table and how to delete the source table in ado.net?
Which is faster datareader or dataadapter?
What is ole db and odbc?
Explain ado.net features?
What is the DataTableCollection?
Explain the difference between data reader and data set?
What is dataset and datatable in ado.net?
What does executequery return?