Divooka.DataGrid.Database

Divooka.DataGrid.Database.Services.ODBCServices.FetchFromODBCDatabase()

Executes a query on an ODBC database and returns the result as a DataTable.

Parameters

NameDescriptionDefault
query The SQL query to execute.
dsn The Data Source Name (DSN) of the ODBC connection.
headers The headers of the returned data table.

Returns

A DataTable containing the results of the query.

Divooka.DataGrid.Database.Services.ODBCServices.InsertData()

Inserts data from a DataTable into a specified table in the ODBC database.

Parameters

NameDescriptionDefault
connection The ODBC connection instance.
tableName The name of the table to insert data into.
table The DataTable containing data to insert.