老师,自己选择隐藏的列,选择多列只隐藏了最后一个,循环没对,应该怎么修改:
Dim pxfs As WinForm.CheckedComboBox = e.Form.Controls("显示隐藏列")
For Each cl As Col In Tables("工程款台账管理").Cols
Dim lst1 As new List(of String)
lst1.AddRange(pxfs.Text.Split(","))
For Each s1 As String In lst1
If cl.name = s1 Then
cl.Visible = False
Else
cl.Visible = True
End If
Next
Next