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 the difference between SqlCommand and SqlCommandBuilder?
What are the advantages of oledb compared with other classes?
What is microsoft ado?
Explain the various objects in dataset.
Does ado.net use odbc?
How to creating a SqlCommand Object?
What is Data view?
Why edit is not possible in repeater?
What are the different ado.net namespaces are available in .net?
How to retrieve the user id which is provided while windows authentication?
If a table contains 20000 records. In a page at each time 100 records to be displayed.
How can we serialize the dataset object?
What are the important features of ado.net 2.0?
What is ado data control?
Explain all the classes those are used for database connections between sql server and asp.net?