HTML.ActionLink作为按钮而不是超链接

Nic*_*ckP 3 vb.net razor asp.net-mvc-3 twitter-bootstrap

似乎无法在VB中找到与此实现相关的代码,但是我有一个操作链接,当前显示为超链接:

@Html.ActionLink("Edit", "Edit", New With {.id = currentItem.CustomerId}) 
Run Code Online (Sandbox Code Playgroud)

但是希望将其显示为按钮,而不是像使用twitter bootstrap一样显示,并且CSS中定义的按钮看起来很棒。我知道如何正常定义按钮链接,但是如何将操作链接更改为一个?

Era*_*nga 5

将CSS类属性设置为btn

@Html.ActionLink("Edit", "Edit", New With {.id = currentItem.CustomerId}, New With {.class = "btn"}) 
Run Code Online (Sandbox Code Playgroud)