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


Please Help Members By Posting Answers For Below Questions

Explain the difference in an abstract class and an interface?

697


How to add a check box or a dropdown list to a column in a datagrid?

721


Does ado.net use odbc?

690


What is datasource in ado.net?

807


What is the difference between linq and ado.net?

716


What is the difference between Data adaptor and Data set?

760


What is serialization and de-serialization in .net? How can we serialize the dataset object?

707


What is ado.net components?

679


What are the different methods by which we can populate a dataset?

931


What are the 3 major types of connection objects in ado.net?

747


What is linq and entity framework?

689


What are the steps you will take to improve performance? Will you use dataset or datareader?

734


What is the use of ADO.NET and XML web services?

788


What are the usages of the command object in ado.net?

744


What is the use of adodc?

725