18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Background Tasks<br />

Database/ERP worksheet<br />

In addition to ODBC, IWS also supports Microsoft .NET ActiveX Data Objects (ADO.NET) for interfacing<br />

between the project tags database and other external databases. A Database/ERP worksheet is used to<br />

associate project tags with external database fields.<br />

Note: For more information about ADO.NET support in IWS — including how to communicate with<br />

remote databases using the IWS Database Gateway software — please see Database Interface.<br />

To interface with an external database, you must first configure a connection to the database and then build a<br />

worksheet that associates project tags with the database fields.<br />

Database Connections<br />

To create a new connection to a target database:<br />

1. In the Project Explorer, open the Database/ERP folder and then right-click on Connections.<br />

2. Choose Insert from the shortcut menu.<br />

The Database Connection dialog is displayed.<br />

Database Connection dialog<br />

3. In the Name field, enter the name that you want to use to reference the target database. You can create<br />

multiple database connections, but each connection must have a unique name.<br />

4. In the Connection String field, click the browse button … to open a standard Data Link Properties dialog. Use<br />

the dialog to configure a connection string for the target database.<br />

Note: The list of Database Providers shown in the Data Link Properties dialog depends on the<br />

providers actually installed and available in the station where you are running the development<br />

application. For more information about using the Data Link Properties dialog, please refer to<br />

Windows Help.<br />

5. In the User Name and Password fields, enter an appropriate login for the target database. The login should<br />

already be created on the database server, and it should have enough privileges to read from and write to<br />

the database tables.<br />

6. If you are connecting to a remote database through the Studio Database Gateway, then click the Advanced<br />

button to open the advanced settings dialog, as shown below.<br />

Database Connection (Advanced) dialog<br />

Page 320<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!