0
我正在使用Razor视图在asp.net MVC 3应用程序中工作。asp.net MVC 3字符串中的链接剃刀视图
我有串,我需要添加一个链接是这样的:
var closingMsg = "Thank you for submitting your dispute. If you wish, you may <a href='<%= Url.Action('Index', 'Product') %>purchase our SMS alert service</a> for immediate notification of any creditor response or request.";
但它给错误。
请建议如何使用href或HTML.actionLink。我需要将样式应用于链接。
你能显示你的视图代码吗 –
你有什么错误? – Subha
你不能提供足够的信息来获得很好的答案。 – Christoph