The ExecuteNonQuery method returns the number of ___________ affected by the non-query command.
- Columns
- Databases
- Rows
- Tables
In ADO.NET, the ExecuteNonQuery method is typically used for non-query commands such as INSERT, UPDATE, DELETE, etc. It returns the number of rows affected by the execution of the command.
Loading...
Related Quiz
- In Entity Framework, what is Change Tracking, and why is it important when updating data?
- What is the significance of setting the Nested property of a DataRelation to true?
- Scenario: You are working on a Windows Forms application that requires displaying a large dataset in a tabular format with sorting and filtering options. Which control would you choose, DataGrid or DataGridView, and why?
- Scenario: You need to implement a custom conflict resolution strategy in your ADO.NET application. What event should you handle to achieve this?
- In ADO.NET, what does the UPDATE command allow you to do?