title: How to Display DataTables in a View when using ASP.NET MVC?
body: <p>I have an Action as below which returns a dataset to a partial view:</p>
  
  <pre><code>public ActionResult DataSet(int id)
  {
  
  DataSet dataSet = Model.CreateDataSet(id);
  
  return PartialView(dataSet);
  
  }
  </code></pre>
  
  <p>and I'm using it like this in my main view:</p>
  
  <pre><code>@{Html.RenderAction("DataSet", new {id= 1});}
  </code></pre>
  
  <p>I'd like to show the contents of the DataSet on my Razor Partial View. For example, if my dataset has 2 datatables, I'd like to display 2 Grid Tables with the columns and rows.</p>
  
  <p>I realized that MVC doesn't have any GridView control like WebForms.</p>
  
  <p>How would that be possible in MVC?</p>
  
  <p>Thanks</p>