這樣試試:Dim cmb As WinForm.ComboBox = e.Form.Controls("ComboBox1")Dim Lst As List(Of String) = DataTables("表A").GetUniqueValues("","第一列")Dim Str As String For Each s As String In Lst Str = Str & "| |" & sNext
cmb.ComboList = Str