title: Binding Label and Value to ComboBox Winforms
body: <p>I have this code</p>
  
  <pre><code>Public Sub FillCategoryCombobox(ByVal categoryList As List(Of tblCategory), ByVal LvName As ComboBox)
      LvName.Items.Clear()
      Dim itemValue = New Dictionary(Of Integer, String)()
      For Each category As tblCategory In categoryList
          itemValue.Add(category.CategoryID, category.CategoryName)
      Next category
      LvName.DataSource = New BindingSource(itemValue, Nothing)
      LvName.DisplayMember = "Value"
      LvName.ValueMember = "Key"
  End Sub
  </code></pre>
  
  <p>I receive an error on</p>
  
  <pre><code>LvName.DataSource = New BindingSource(itemValue, Nothing)
  </code></pre>
  
  <p>Value cannot be null</p>