jj 14.03 work on dgv
This commit is contained in:
@@ -401,14 +401,9 @@
|
||||
|
||||
' SQLCommand ignorieren
|
||||
If dynamic.StaticList IsNot Nothing Then
|
||||
Dim bindingSource As New BindingSource()
|
||||
|
||||
For Each item As String In dynamic.StaticList
|
||||
bindingSource.Add(item)
|
||||
Next
|
||||
|
||||
'control.DataSource = dynamic.StaticList
|
||||
control.DataSource = bindingSource
|
||||
control.DataSource = dynamic.StaticList.Select(Function(v)
|
||||
Return New With {Key .Value = v}
|
||||
End Function)
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Reference in New Issue
Block a user