title: get value from DataTable
body: <p>I want to get all column value from DataTable and store it to the ListBox. Here is my code</p>
  
  <pre><code>            If myTableData.Rows.Count &gt; 0 Then
                  For i As Integer = 0 To myTableData.Rows.Count
                      Dim DataType() As String = myTableData.Rows(i).Item(1)
                      ListBox2.Items.AddRange(DataType)
                  Next
              End If
  </code></pre>
  
  <p>but when I compile that code, I got error message like this :</p>
  
  <pre><code>Unable to cast object of type 'System.String' to type 'System.String[]'
  </code></pre>
  
  <p>so, how to resolve this problem?? Please help me....</p>