For Each MyItem As DataRowView In ComboBox1.Items
MessageBox.Show(MyItem.Item("Name").ToString())
If MyItem.Item("Name").ToString() = "A Name" Then
ComboBox1.SelectedItem = MyItem
' Item found and selected, Exit the loop
Exit For
End If
Next

浙公网安备 33010602011771号