using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MySQLApplicaton {
	public partial class FormMain : Form {
		public FormMain () {
			InitializeComponent ();

			DataTable dataTable = new DataTable ();

			mySqlConnection.Open ();
			mySqlDataAdapter.Fill (dataTable);
			mySqlConnection.Close ();

			dataGridView1.DataSource = dataTable;

		}
	}
}