Question Implementing MySQL to Windows Apps[Read more]

DaKnOb

New member
Joined
Feb 12, 2011
Messages
1
Programming Experience
5-10
Anybody can tell me how to do the following with a MySQL database and my Win app:
  1. Enter data on a database
  2. Read data from a database
  3. Delete data from a database
Thanks a lot! Required for a program I am working on!
 
.NET apps use ADO.NET for data access and ADO.NET works basically the same way no matter the data source. Any ADO.NET information you read is relevant. You simply need to change the provider, the connection string and maybe the SQL code. All the VB code follows exactly the same pattern.

You should start by downloading the Connector/Net ADO.NET provider from the MySQL web site. Once that's installed and you have referenced the appropriate assembly in your project, you can use the MySqlClient provider just like you do any of the inbuilt providers, e.g. SqlClient for SQL Server. As I said, any ADO.NET information is relevant, but here's some examples of mine:

Retrieving and Saving Data in Databases
 
Back
Top