蓝老师好!
我想把重新获取的集合 Pros 作为CheckedComboBox的列表项,怎样赋值?
谢谢!
Dim Products As List(Of String)
Dim Pros As New List(Of String)
Products = DataTables("数据表").SQLGetValues("被告类别")
For Each Product As String In Products
For Each s As String In Product.split("|")
If s > "" Then
If Pros.Contains(s)= False Then
Pros.Add(s)
End If
End If
Next
Next
'For Each Pro As String In Pros
'Output.Show(Pro)
'Next
Dim cmb As WinForm.CheckedComboBox
cmb = e.Form.Controls("CheckedComboBox1")
cmb.ComboList = ?
[此贴子已经被作者于2021/5/20 22:01:14编辑过]