I am coding in asp.net mvc and I am trying to implement the table of DataTables.net but I get this error: DataTables warning: table id=abc - Incorrect column count. For more information about this error, please see http://datatables.net/tn/18
This is my table:
<table id="abc" class="display table-bordered table-hover">
<tr>
<th>
@Html.DisplayNameFor(model => model.StudentID)
</th>
<th>
@Html.DisplayNameFor(model => model.FirstName)
</th>
<th>
@Html.DisplayNameFor(model => model.LastName)
</th>
<th>
@Html.DisplayNameFor(model => model.Program)
</th>
<th>
@Html.DisplayNameFor(model => model.YearGraduate)
</th>
<th>
@Html.DisplayNameFor(model => model.BoardScore)
</th>
<th>Action</th>
</tr> …Run Code Online (Sandbox Code Playgroud)