Click or drag to resize

TableDataSourceLoadDataFromOleDBConnection Method

Replaces content to the datasource

Namespace:  Easymap.AddIn.Data
Assembly:  Easymap.AddIn (in Easymap.AddIn.dll) Version: 11.2.0.0
Syntax
public void LoadDataFromOleDBConnection(
	string oleDBConnectionString,
	string oleDBSql
)

Parameters

oleDBConnectionString
Type: SystemString
oleDBSql
Type: SystemString
Remarks
The connection string specifies the connection parameters for the database. Any OleDB compatible datasource can be used.
Note Note
Connection string for a Microsoft Access Database: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\database.mdb
The provided SQL must be compatible with the syntax of the database. The SELECT statement must return columns with the same column names used in the EasyMap datasource.
Note Note
SELECT [plz], [val] FROM [plzData]
See Also