Click or drag to resize
CDUImportADO Method
Import an external database table into a group using ADO.

Available since Oasis montaj version: 5.0.8
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
1. The import template can be in the local directory or the GEOSOFT directory. 2. Only the import template must be specified. The database connection string, the database table and Oasis line name are normally taken from the template file itself, but if these values are provided, they will override those found in the template. 3. If the line already exists, the data will overwrite the existing data.
Syntax
public static void ImportADO(
	CDB oDB1,
	string str2,
	string str3,
	string str4,
	string str5
)

Parameters

oDB1
Type: GeoEngine.Core.GXNetCDB
Database
str2
Type: SystemString
import database connection string (overrides template value)
str3
Type: SystemString
imported table in database file (overrides template value)
str4
Type: SystemString
import template name
str5
Type: SystemString
Oasis montaj line name to create (overrides template value)
See Also