Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Executing Commands | Introduction to Databases with .NET
Introduction to .NET with C#
course content

Course Content

Introduction to .NET with C#

Introduction to .NET with C#

1. Introduction
2. Asynchronous Programming and Introduction to Web Services
3. Introduction to Databases with .NET
4. CRUD Operations with MySQL
5. Optimizing Database Operations

bookExecuting Commands

Important Points:

  • We use the CREATE command for creating a new database in a MySQL Server;
  • A MySQL query or command can be executed using its MySqlCommand instance;
  • Commands that do not retrieve data from the database are called Non-Queries and hence are executed using the ExecuteNonQuery method of the MySqlCommand objects.
Which method will we use for executing the following command?

Which method will we use for executing the following command?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 6
some-alt