_Connection.Open (gb.db)
Sub Open ( )
打开对指定数据库的连接。
connection属性应在调用该方法前设置好。
Examples
DIM $hConn As NEW Connection
WITH $hConn
.Type = "postgresql"
.Host = "localhost"
.Login = "username"
.Password = "passwd"
.Name = "testdb"
END WITH
TRY $hConn.Open
IF Error THEN PRINT "Cannot Open Database. Error = "; Error.Text