Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 HyperLink 设置来使用 mailto,但它似乎在根文件夹中调用。 ~/Admin/mailto:email@stackoverflow.com
<asp:HyperLink runat="server" NavigateUrl='<%#Eval("Email", "mailto:{0}")%>' Text='<%#Eval("Email")%>' ID="emailLink" />
任何想法为什么会发生这种情况?
尝试
<asp:HyperLink NavigateUrl='<%#Bind("Email", "mailto:{0}") %>' Text='<%#Bind("Email") %>' runat="server" ID="emailLink"></asp:HyperLink>
祝你好运!