title: Convert int to int[]
body: <p>I have a dataset and i am trying to get all the Ids of the datset into a datarow to finally save it in a int array. Its not working for me. It says <code>"Cannot implicitly convert from type int to int[]"</code></p>
  
  <pre><code>Dataset ds = new BusinessLogic().Getsamples(MerchantID);
  
  Datarow dr = ds.Tables[0].Rows[0];
  
  int[] SampleID = Convert.ToInt32(dr["Id"]);
  </code></pre>
  
  <p>Thanks in advance..</p>