Click or drag to resize
CGUIiImportDrillDatabaseADO Method (CGXNETCore, IWin32Window, String, String, String, Int32, CREG)
Generate a template file for importing drill holes.

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 ImportDrillDatabase_GUI using the new ADO technology, as opposed to DAO. Use in conjunction with ImportADO_DU. See also ImportDatabaseADO_GUI.
Syntax
public static int iImportDrillDatabaseADO(
	CGXNETCore gxNetShared,
	IWin32Window owner,
	string connect,
	string temp,
	ref string table,
	ref int type,
	CREG reg
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
owner
Type: System.Windows.FormsIWin32Window
The IWin32Window the message box will display in front of.
connect
Type: SystemString
External database connection string (Blank for OLEDB Wizard)
temp
Type: SystemString
Template to make
table
Type: SystemString
Name of table
type
Type: SystemInt32
Type of import returned <define>DH_DATA</define>
reg
Type: GeoEngine.Core.GXNetXCREG
Drill Hole Object REG handle

Return Value

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