title: Add values to listbox from dataset - NullReferenceException error (VB.NET)
body: <p>I'm trying to populate a single record from a <code>dataset</code> into a <code>listbox</code>. I can see that the dataset is populated with the expected value with the column header "PLI" in the dataset visualizer. I've tried to use the following command to populate the listbox with the value in the dataset:</p>
  
  <pre><code>lstExistingPLI.Items.Add(New ListItem(ds.Tables("PLI").ToString()))
  </code></pre>
  
  <p>I keep getting an unhandled NullReferenceException error. I've also tried using </p>
  
  <pre><code>lstExistingPLI.Items.Add(ds.Tables("PLI").ToString())
  </code></pre>
  
  <p>and getting the same error. Can anyone help me out with what I'm doing wrong? Thanks!</p>