Dim trv As WinForm.TreeView = e.Form.Controls("TreeView1") Dim str As String = "" For Each nd As WinForm.TreeNode In trv.AllNodes If nd.Checked = True str &= nd.Text & "," End If Next e.Form.DropDownBox.Value = str.trim(",") e.Form.DropDownBox.CloseDropdown()