读书人

mvc上的ajax有关问题

发布时间: 2013-03-19 17:22:05 作者: rapoo

mvc下的ajax问题
<h2>学生信息</h2>

<table>
<tr>
<th></th>
<th>
姓名
</th>
<th>
性别
</th>
<th>
年龄
</th>
<th>
学院
</th>
</tr>

@foreach (var item in Model) {
<tr>
<td >
@Html.ActionLink("编辑", "Edit", new { id=item.ID }) |
@Html.ActionLink("明细", "Details", new { id=item.ID }) |
@Html.ActionLink("删除", "Delete", new { id=item.ID}) </td>
<td>
@item.Name
</td>
<td>
@item.sex
</td>
<td>
@item.Age
</td>
<td>
@item.Collage
</td>
</tr>
}

</table>

我想点击那个删除,实现不刷新的删除,但是我不知道从哪下手,求大侠给个思路 mvc ajax delete table 异步删除
[解决办法]
http://bbs.csdn.net/topics/370102315

看(6)使用jQuery使表单Ajax化

有教程有代码,自己看

读书人网 >asp.net

热点推荐