oSQLServer
_NAME 為服務器名
FillEmptyDatabaseList (True)
If cob_sqldb
cob_sqldb
Cob_sqldb_Click
End If
End Sub
Private Sub FillEmptyDatabaseList(bFill As Boolean)
If bFill = True Then
Dim oDB As SQLDMO
Set oDB = New SQLDMO
For Each oDB In oSQLServer
If oDB
cob_sqldb
End If
Next oDB
End If
End Sub
Private Sub Cob_sqldb_Click()
[
From:http://tw.wingwit.com/Article/program/SQLServer/201311/22456.html