title: Converting Data Table values into array of string values
body: <p>method1:</p>
  
  <pre><code>public void method1(DataTable ServerGroupIds)
  {
     obj.method2(ServerGroupIds);  
  }
  </code></pre>
  
  <p>method2 :</p>
  
  <pre><code>public static void method2(string[] servergroups)
  {
      obj.Message = userName + " has Un-Restricted the Project.";
  }
  </code></pre>
  
  <p>Now I want to pass the DataTable values into the method2 String[] servergroups
  How can I pass my DataTable values into an array of string values?</p>
  
  <p>Sorry, Forget to mention I have 2 columns in my DataTable. !st column is ProjectId and Second Column is Server Group Id. Now I need only ServerGroup Id's in my array of string</p>