0
Public Overloads Function SETData(Table As Tables, Col() As String) As Statuez
Dim DD As New DataSet, State As New Statuez
Try
DD = R.Dset(Table, "Select **col()** from " & Table.TName & " where username='" & Table.User & "'")
DG.DataSource = DD.Tables(0)
State.Done = True
Catch ex As Exception
State.Done = False
State.Message = ex.Message
End Try
Return State
End Function
***上校()作爲字符串是一個數組保存列的名稱需要如何從表使用select(COL陣列())
有什麼辦法來選擇列陣列進行打字陣列的每個成員?
謝謝你:)它有效 –
沒問題。對於這類問題,SO上有相當多的資源,下次再看第一次:) – Ric
我試圖搜索,但我認爲我沒有輸入合適的詞搜索 –