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

Executing 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?

Select the correct answer

Everything was clear?

Section 3. Chapter 6
We're sorry to hear that something went wrong. What happened?
some-alt