 | CGUIiImportChemDatabaseADO Method (IWin32Window, String, String, String, Int32, Int32) |
Improved template creation for importing geochem database (ADO).
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iImportChemDatabaseADO(
IWin32Window owner,
string connect,
string temp,
ref string table,
int table_size,
int type
)
public static int iImportChemDatabaseADO(
IWin32Window owner,
string connect,
string temp,
ref string table,
int table_size,
int type
)
Public Shared Function iImportChemDatabaseADO (
owner As IWin32Window,
connect As String,
temp As String,
ByRef table As String,
table_size As Integer,
type As Integer
) As Integer
Public Shared Function iImportChemDatabaseADO (
owner As IWin32Window,
connect As String,
temp As String,
ByRef table As String,
table_size As Integer,
type As Integer
) As Integer
public:
static int iImportChemDatabaseADO(
IWin32Window^ owner,
String^ connect,
String^ temp,
String^% table,
int table_size,
int type
)
public:
static int iImportChemDatabaseADO(
IWin32Window^ owner,
String^ connect,
String^ temp,
String^% table,
int table_size,
int type
)
static member iImportChemDatabaseADO :
owner : IWin32Window *
connect : string *
temp : string *
table : string byref *
table_size : int *
type : int -> int
static member iImportChemDatabaseADO :
owner : IWin32Window *
connect : string *
temp : string *
table : string byref *
table_size : int *
type : int -> int
Parameters
- 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 - table_size
- Type: SystemInt32
Size of table name string - type
- Type: SystemInt32
<define>IMPCH_TYPE</define>
Return Value
Type:
Int32
0 - OK
-1 - Cancel
Remarks
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.
See Also