Views/TEST/Delete1.cshtml

(完整代码) 1KB

@model WebApplication1.Models.SurnameTable

@{
    ViewData["Title"] = "Details";
}

<div style="width:700px;margin-left:200px;">
    <div>
        <table class="table">

            <tr>
                <th>ID</th>
                <th>姓名</th>
                <th>性别</th>
                @*<td>
                        <a asp-action="Add">新增明细</a>|
                    </td>*@
            </tr>
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => Model.ID)
                </td>
                <td>
                    @Html.DisplayFor(modelitem => Model.Name)
                </td>
                <td>
                    @Html.DisplayFor(modelitem => Model.Sex)
                </td>
                <td>
                    <a asp-action="DeleteConfirmed" asp-route-id="@Model.ID" action="post">Delete</a>|
                    <a asp-action="Details" asp-route-id="@Model.AreaID">Back to List</a></>
                </td>

            </tr>
        </table>
    </div>
</div>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。