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

Available since Oasis montaj version: 5.0
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. The import data file must include the path if it is not in the local directory. 2. Only the import template must be specified. The database file name, file type, 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 ImportDAO(
	CGXNETCore gxNetShared,
	CDB db,
	string data,
	string type,
	string table,
	string templ,
	string line
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
Database
data
Type: SystemString
Import database file name (overrides template value)
type
Type: SystemString
Import data file type (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