Database Constructor (String, DbConnection) |
Create a database connection
Namespace:
DataTables
Assembly:
DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax public Database(
string dbType,
DbConnection conn
)
Parameters
- dbType
- Type: SystemString
Database type - this should be "sqlserver" or "mysql" - conn
- Type: System.Data.CommonDbConnection
Database connection that has already been established to the SQL server
See Also