title: Convert a List<string> to DataRow in c#
body: <p>I have a list of strings and am in need of converting it to a Datarow.
  I tried</p>
  
  <pre><code>toReturn.Add("UserID");
  toReturn.Add("UserName");
  DataRow row = null;
  row.ItemArray=toreturn.ToArray();
  </code></pre>
  
  <p>This is throwing me an exception </p>
  
  <pre><code>Object reference not set to an instance of an object.
  </code></pre>
  
  <p>So i tried with </p>
  
  <pre><code>DataRow Row=new DataRow();
  </code></pre>
  
  <p>That is also not allowed.Can somebody help me in this.</p>