title: How to fill dataset using LINQ with FillDataSet(ds) Method c#
body: <p>How to fill dataset using LINQ with FillDataSet(ds) Method.  When iam trying to implement this code iam getting error like FillDataSet does not exist in current context.</p>
  
  <p>My code is</p>
  
  <pre><code>DataSet ds = new DataSet();
  ds.Locale = CultureInfo.InvariantCulture;
  FillDataSet(ds);
  
  DataTable products = ds.Tables["emp"];
  
  IEnumerable&lt;DataRow&gt; query =
      from product in dtContext.emps.AsEnumerable()
      select product;
  </code></pre>
  
  <p>Please tell me how to fill dataset with FillDataSet(ds) Method.
  Thank you.</p>