title: How can I convert this column value to an integer?
body: <p>My C# code looks like this:</p>
  
  <pre><code>myNum = dt.Columns[0];
  </code></pre>
  
  <p>myNum is an integer and dt is a datatable.  The value in column 0 of dt is a string ("12"), but I'd like to convert it to an integer.  How can I do this?
  I've tried:</p>
  
  <pre><code>myNum = int.Parse(dt.Columns[0]);
  </code></pre>
  
  <p>...but that doesn't work.  Any ideas?</p>