我在這裏使用錨標記此類不applying.And這是我的代碼類沒有申請鏈接
<td> <a href="@Url.Action("ViewServiceDetails", "ServiceConsumer", new { BookingID = CAH.BookingID, @class = "btn btn-link", data_toggle = "modal", data_target = "#ViewServiceDetails" })">@CAH.BookingID</a></td>
以前我使用
<td> @Html.ActionLink((string)CAH.BookingID, "ViewServiceDetails", "ServiceConsumer", new { BookingID = CAH.BookingID }, new { @class = "btn btn-link", data_toggle = "modal", data_target = "#ViewServiceDetails" })</td>
但對於第二IAM越來越錯誤一個
使用'Html.ActionLink' – User3250
「這個類是不適用」什麼班?你在問什麼?! – Alex
@Alex類,我創造了desing即@ class =「btn btn-link」 –