aditya immadi

aditya immadi

  • NA
  • 215
  • 24k

MVC checkbox delete using jquery

May 3 2016 7:42 AM
Hai All
 
i wrote this code individual record deletion in mvc using jquery but the check boxes are not in exact position .how can i delete records
TIA 
 
@foreach (DataRow row in dtwalkin.Rows)
{
<tr>
<input type="checkbox" id="chkdel" value="true" />
<td>
@* @Html.DisplayFor(modelItem => item.ComID)*@
</td>
<td>
@* @Html.DisplayFor(modelItem => item.Place)*@
@row["Place"].ToString();
</td>
<td>
@* @Html.DisplayFor(modelItem => item.JobDescr)*@
@row["JobDescr"].ToString();
</td>
<td>
@* @Html.DisplayFor(modelItem => item.JobLocation)*@
@row["JobLocation"].ToString();
</td>
<td>
@* @Html.DisplayFor(modelItem => item.Name)*@
@row["Name"].ToString();
</td>
<td>
@* @Html.DisplayFor(modelItem => item.HREmail)*@
@row["HREmail"].ToString();
</td>
<td>
@* @Html.DisplayFor(modelItem => item.StartDate)*@
@row["StartDate"].ToString();
</td>
<td>
@* @Html.DisplayFor(modelItem => item.EndDate)*@
@row["EndDate"].ToString();
</td>
<td>
@Html.ActionLink("Update", "Edit", new { /* id=item.PrimaryKey */ }) |
 

Answers (3)