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.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.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(
	CGXNETCore gxNetShared,
	CDB db,
	string connect,
	string table,
	string templ,
	string line
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
Database
connect
Type: SystemString
Import database connection string (overrides template value)
table
Type: SystemString
Imported table in database file (overrides template value)
templ
Type: SystemString
Import template name
line
Type: SystemString
Oasis montaj line name to create (overrides template value)
See Also