Nic*_*ckP 3 vb.net razor asp.net-mvc-3 twitter-bootstrap
似乎无法在VB中找到与此实现相关的代码,但是我有一个操作链接,当前显示为超链接:
@Html.ActionLink("Edit", "Edit", New With {.id = currentItem.CustomerId}) 
但是希望将其显示为按钮,而不是像使用twitter bootstrap一样显示,并且CSS中定义的按钮看起来很棒。我知道如何正常定义按钮链接,但是如何将操作链接更改为一个?
将CSS类属性设置为btn。
@Html.ActionLink("Edit", "Edit", New With {.id = currentItem.CustomerId}, New With {.class = "btn"}) 
| 归档时间: | 
 | 
| 查看次数: | 2842 次 | 
| 最近记录: |