what is Execute NOn Query?
Answer Posted / sandip karsariya
ExecuteNonQuery() is one of the most frequently used method
in SqlCommand Object and is used for executing statements
that do not return result set. ExecuteNonQuery() performs
Data Definition tasks as well as Data Manipulation tasks
also. The Data Definition tasks like creating Stored
Procedures and Views perform by ExecuteNonQuery() . Also
Data Manipulation tasks like Insert , Update and Delete
perform by ExecuteNonQuery().
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is defaultview in datatable?
What is full form of ado?
How will you fill the gridview by using datatable object at runtime?
Which is the best method to get two values from the database?
Do you use stored procedure in ado.net?
Define the data provider classes that is supported by ado.net?
What is dataset object? Explain the various objects in dataset.
Which is faster datareader or dataadapter?
what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?
Which object of ado contains datarow datacolumn collection?
How do you connect to sql server database without using sqlclient?
What is difference between executenonquery and executequery?
What are the steps you will take to improve performance? Will you use dataset or datareader?
Is bulk insert faster than insert?
What is bubbled event?