如何仅从一楼迭代数据?
For Each dtrow in CameraDtable.Rows
'get datas only from 1F
Next
答案 0 :(得分:1)
For Each dtrow In FbuildingSettings.camButtonDtable.Select("Floor ='1'")
' do code
Next
OR
For Each dtrow In FbuildingSettings.camButtonDtable.Rows
If dtrow("Floor") = 1 Then
' do code
End If
Next