Mcn u must download and install the mysql .NET connector first then try the following
Then Add a referance to MySQL
then use the following code
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using...