Many developers use ASP.NET with MySQL with their applications. If you use ASP.NET hosting services and some of the .NET stack as VB.NET or C# then you could connect to the MySQL database using ODBC .net data provider. Please follow the next MySQL C# ASP.NET tutorial to achieve your goals.
Connect to MysQL database using C# using ASP.NET hosting
The following is a sample MySQL connection string:
In this example, the MySqlConnection object is configured to connect to a MySQL server at 127.0.0.1, with a user name of user and a password of userpassword. The default database for all statements will be the allusers database.
Related TutorialsHow to create Oracle …