TableDataSourceAddDataFromOleDBConnection Method |
Adds the content of the datasource
Namespace:
Easymap.AddIn.Data
Assembly:
EasyMap.AddIn (in EasyMap.AddIn.dll) Version: 12.0.0.0
Syntax public void AddDataFromOleDBConnection(
string oleDBConnectionString,
string oleDBSql
)
Public Sub AddDataFromOleDBConnection (
oleDBConnectionString As String,
oleDBSql As String
)
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 |
---|
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 |
---|
SELECT [plz], [val] FROM [plzData] |
See Also