[C#] Asp.Net MVC中如果给ActionLink传递参数 →→→→→进入此内容的聊天室

来自 , 2020-10-11, 写在 C#, 查看 126 次.
URL http://www.code666.cn/view/1d0787d6
  1. <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
  2.  
  3. <asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
  4. <p>
  5. Click to update record:
  6. <%= Html.ActionLink("Update Item", "Update", new {Id=4})
  7. </p>
  8. </asp:Content>
  9.  
  10.  
  11. //csharp/7751

回复 "Asp.Net MVC中如果给ActionLink传递参数"

这儿你可以回复上面这条便签

captcha