how to clear the following error

how to clear the following error

jamujamu Posts: 20Questions: 11Answers: 0

DataTables warning (table id = 'DataTables_Table_0'): Requested unknown parameter '0' from the data source for row 0

@model ECS.Models.UserViewModel

<a href="#" class="btn btn-info" onclick="AddNewUser(0)">Add New User</a> <br /><br />

User Details

UserId User Name Email Password Action(Edit) Action(Delete)

Create A Popup Modal With Registration Form For Add Or Edit Student Record

×

@Html.HiddenFor(m => m.UserId, new { @id = "UsrId", @value = 102 })
@Html.TextBoxFor(m => m.UserName, new { @id = "UsrName", @class = "form-control", @placeholder = "Name*" })
@Html.TextBoxFor(m => m.EmailId, new { @id = "Email", @class = "form-control", @placeholder = "Email*" })
@Html.TextBoxFor(m => m.Password, new { @id = "Pass", @class = "form-control", @placeholder = "Password*" })
        </div>

<

script>
$("#LoadingStatus").html("Loading....");
$.get("/Home/GetUserDetails", null, DataBind);
function DataBind(UserList) {
//This Code For Receive All Data From Controller And Show It In Client Side
var SetData = $("#SetStudentList");
for (var i = 0; i < UserList.length; i++) {
var Data = "<tr class='row_" + UserList[i].UserId + "'>" +
"<td>" + UserList[i].UserId + "</td>" +
"<td>" + UserList[i].UserName + "</td>" +
"<td>" + UserList[i].EmailId + "</td>" +
"<td>" + UserList[i].Password + "</td>" +
"<td>" + "<a href='#' class='btn btn-warning' onclick='EditUserRecord(" + UserList[i].UserId + ")' ><span class='glyphicon glyphicon-edit'></span></a>" + "</td>" +
"<td>" + "<a href='#' class='btn btn-danger' onclick='DeleteUserRecord(" + UserList[i].UserId + ")'><span class='glyphicon glyphicon-trash'></span></a>" + "</td>" +
"</tr>";
SetData.append(Data);
$("#LoadingStatus").html(" ");

    }
}
This discussion has been closed.