I have followed this link (demos.shieldui.com/aspnetcore/grid-editing/inline-editing) for editing data in shieldUI grid-inline editing for my ASP.NET Core web application (not MVC). That article was not fully helpful for me to update delete and insert data into the SQL Server database because program manages to view data through a javascript mentioned below.
<script>
var gridData =
[
@{
foreach (var Emp in Model.EmployeeList)
{
int Eid = Emp.Id;
string NIC = Emp.NicNo;
string ename = Emp.Name;
@:{ "Name": "@ename","ID": "@Eid","NIC": "@NIC"},
}
}
]
</script>
but the article mentioned about another way for the data source in inline editing. How can I edit, delete, insert the data through the JavaScript to SQL DB?