Click or drag to resize
CGUIiImportChemDatabaseADO Method (CGXNETCore, String, String, String, Int32, Int32)
Improved template creation for importing geochem database (ADO).

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
This is an improved version of ImportChemDatabase_GUI using the new ADO technology, as opposed to DAO. Use in conjuction with ImportADO_DU. See also ImportDatabaseADO_GUI.
Syntax
public static int iImportChemDatabaseADO(
	CGXNETCore gxNetShared,
	string connect,
	string temp,
	ref string table,
	int table_size,
	int type
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
connect
Type: SystemString
External database connection string (Blank for OLEDB Wizard)
temp
Type: SystemString
Template to make
table
Type: SystemString
Name of table
table_size
Type: SystemInt32
Size of table name string
type
Type: SystemInt32
<define>IMPCH_TYPE</define>

Return Value

Type: Int32
0 - OK -1 - Cancel
See Also