MySQL Articles

Opening MySQL database with C#

.NET provides easy access to any type of database through the OLE DB provider (System.Data.OleDb). Of course we could connect to a data source also through ODBC, but firstly we should download the.NET ODBC driver from the Microsoft site. Here is an example of how to open MySQL database through OLE DB Provider in C#. [...]

Read more

Mapping Objects to Relational Databases (MySQL!)

Source Code: MappingObjsLC.zip This article explains how you can map databasetables to C# objects. In other words, The application generates C#Class files for each table in a relational database. I have used Mysqland ODBC.NET for this project. The application only supports MySQLright now. However, it is easy to port to other databases. I will do [...]

Read more