Poll

connecting AHMI to Database

Mysql
4 (50%)
any
4 (50%)

Total Members Voted: 8

Author Topic: Database connection With the AHMI  (Read 2328 times)

Ibrahim

  • Newbie
  • *
  • Posts: 35
    • View Profile
Database connection With the AHMI
« on: July 04, 2015, 06:44:21 AM »
Hi,

any instructions plz about the AdvancedHMI connecting with database(Mysql or ms access) for the newbies.

many thnks

Ibrahim

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5267
    • View Profile
    • AdvancedHMI
Re: Database connection With the AHMI
« Reply #1 on: July 04, 2015, 08:12:46 AM »
Here are a few steps to start with:

The first thing you will need to do is to setup the database connection. and create a DataSet. In Visual Studio, go to View->Other Windows->Data Sources. Once that window opens, click Add New Data Source

Once the Wizard opens up, select Database, then Dataset. From there follow the wizard to connect to your database and select the tables you wish to use.

After that you can drag from the Data Sources window directly to the form to make a codeless database app.


Mikefly95

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
Re: Database connection With the AHMI
« Reply #2 on: July 06, 2015, 07:08:48 AM »
If you are going to use MySQL you will need to install and reference the .net connector.

https://dev.mysql.com/downloads/connector/net/6.9.html