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 are the classes in System.Data.Common Namespace?
What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?
What is the difference between ado.net and oledb?
If we are not returning any records from the database, which method is to be used?
What is ado.net tutorial?
What are the advantages of using datalist?
What is datasource in ado.net?
What are the major challenges in accessing data from a database?
What is the use of Dataview?
What is data access pattern?
How do you update a dataset in ado.net?
List the 4 common ado.net namespaces?
What is ado or jdbc?
Which is faster datareader or dataadapter?
How will you fill the gridview by using datatable object at runtime?