title: DataTable to ArrayList
body: <p>I want to get value from datatable and then store it to the string() arraylist. datatable contain 3 column (columnA | columnB | columnC). I want to get all value from columnB and store it to arraylist.</p>
  
  <p>I have try something like this</p>
  
  <pre><code>If myTableData.Rows.Count &gt; 0 Then
      For i As Integer = 0 To myTableData.Rows.Count - 1
          Dim value() As String = myTableData.Rows(i)(1)
      Next
  End If
  </code></pre>
  
  <p>but when I compile that code, I got error message like this :</p>
  
  <blockquote>
    <p>Unable to cast object of type 'System.String' to type 'System.String[]'</p>
  </blockquote>
  
  <p>please help me.....</p>