1
我試圖構建網址在asp.net這樣構建網址動態
<asp:HyperLink ID="edit" runat="server" NavigateUrl="./edit.aspx/&action=edit&id=<%#Eval("id")%>">Edit</asp:HyperLink>
但是當我運行asp.net頁面
Parser Error Message: The server tag is not well formed.
Source Error:
Line 71: ">Edit
Source File: /admin/vehicle/view.aspx Line: 71
誰能幫我出
我得到一個錯誤
「〜/」指向網站根目錄,而不是當前目錄 – Smith 2012-04-16 15:27:49