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 the namespaces being used to access oracle database?
What are the usages of the command object in ado.net?
What are the uses of Stored Procedure?
What is ole db and odbc?
What are the benefits of using ado.net?
What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)
What is the default timeout specified for "sqlcommand.commandtimeout" property?
Which is faster sqldataadapter and sqldatareader?
What is the executescalar method?
What are the different ado.net namespaces are available in .net?
What is the significance of CommandBehavior.CloseConnection ?
List all the steps in order, to access a database through ado.net?
Can we do database operations without using any of the ado.net objects?
Explain ado.net features? Benefits? Drawbacks?
Explain what is datagrid with an example?