title: Loop Through All DataTable in DataSet Using A For Loop
body: <p>Anyone know how can I loop through all datatable in Dataset with a <code>For Loop</code> instead of <code>foreach</code> loop?</p>
  
  <p>I know foreach loop can do this but <strong>I want to use a For loop instead.</strong></p>
  
  <p>For example:</p>
  
  <pre><code>foreach (DataTable table in ds.Tables)
  {
  
  }   
  </code></pre>
  
  <p><strong>I would like to use a For Loop instead.</strong></p>
  
  <p>Appreciate if someone can help me on this</p>