title: Returning datas from datatable in vb.net
body: <p>DTName is a <code>DataTable</code> which returns rows in the code below...when I iterate it through the loop from 0 to its count. Only the data in first row is displayed.</p>
  
  <p>How to get all the rows of the datatable displayed  in the result ?</p>
  
  <pre><code>DTName = GetClientNames()
  
     If Not DTName Is Nothing Then
  
        For i = 0 to DTName.Rows.count
  
           strName = DTName.Rows(i).Item("Client Name").Tostring()
  
        Next i
  
     End if
  </code></pre>