title: DataTable Model Bind in Mvc
body: <p>I'm using asp.net mvc with aspx view engine to read from an excel file, extract contact information from that, display it to the user and when he\she confirms it would save them in database.</p>
  
  <p>Now in my page I got my DataTable as Model and with a foreach loop I'm showing that to the user. then I have a submit button that when the user click on it I want my datatable back to the Action in a Controller. but my Datatable is null.</p>
  
  <p>How can I have my datatable back to my controller ?</p>
  
  <p>aspx first line :</p>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Authenticated.master"
  Inherits="System.Web.Mvc.ViewPage&lt;System.Data.DataTable&gt;" %&gt;
  </code></pre>
  
  <p>Controller Action definition :</p>
  
  <pre><code>public virtual ActionResult SaveExcelContacts(DataTable dt)
  </code></pre>