title: How to get the row number from a datatable?
body: <p>I am looping through every row in a datatable:</p>
  
  <pre><code>foreach (DataRow row in dt.Rows) {}
  </code></pre>
  
  <p>I would like to get the index of the current row within the dt datatable. for example:</p>
  
  <pre><code>int index = dt.Rows[current row number]
  </code></pre>
  
  <p>How do i do this?</p>