title: How to save datatable first column in array C#
body: <p>I have this kind of datatable:</p>
  <pre><code>Name | CategorieID | FullCategorie_ID
  ----  -------------  ----------------
   A        1             12  
   B        1             13
   C        5             14
   D        3             15
   E        6             16
  </code></pre>
  <p>I want to save the values of column <code>Name</code> in an array, I am using this to get the values of a row. E.g. To get the values of the first row I can use the following code.</p>
  <pre><code>var stringArr =datatable1.Rows[0].ItemArray.Select(x =&gt; x.ToString()).ToArray();
  </code></pre>
  <p>But I don't know how to get all the values of the only first column.</p>