What is the primary purpose of non-query commands (INSERT, UPDATE, DELETE) in ADO.NET?

  • Creating a new database.
  • Establishing a connection to a database.
  • Inserting data into, updating data in, or deleting data from a database.
  • Retrieving data from a database.
Non-query commands in ADO.NET, such as INSERT, UPDATE, and DELETE, are primarily used for modifying data in a database. These commands allow you to insert new records into a table, update existing records, or delete records from a table. They do not return any data, hence the term "non-query."
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *