首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

mvc上的ajax有关问题

2013-03-19 
mvc下的ajax问题h2学生信息/h2tabletrth/thth姓名/thth性别/thth年龄/thth学院

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化

有教程有代码,自己看

热点排行