title: How to iterate through a DataTable
body: <p>I need to iterate through a <code>DataTable</code>. I have an column there  named <code>ImagePath</code>.</p>
  
  <p>When I am using <code>DataReader</code> I do it this way:</p>
  
  <pre><code>SqlDataReader dr = null;
  dr = cmd.ExecuteReader();
  while (dr.Read())
  {
      TextBox1.Text = dr["ImagePath"].ToString();
  }
  </code></pre>
  
  <p>How can I achieve the same thing using <code>DataTable</code>?</p>