'資料庫查詢*************************************************************************************************************************************
Dim theCOMM As SqlCommand
Dim theRST As SqlDataReader
Dim mApp As String, mApp1 As String, mApp2 As String, mApp3 As String
Dim strCMn As String
'************************************************************************************************************************************************
If theRST.FieldCount > 0 Then
Form1.ComboBox1.DataSource = theRST.Item(0)
Else
'找不到資料
End If
'資料庫Link Close********************************************************************************************************************************
theRST.Close()
theCON.Close()
'************************************************************************************************************************************************
End Sub
End Module作者: 暗黑 時間: 2010-7-1 15:38