請教各位大大
@Html.ActionLink("(" + item.PaperNum + ")等待被安排的稿件", "GetChairmanPaperList2", "Chairman", new { cId = item.ConferenceId }, new { @class = "btn btn-primary" })
修改為POST方法
@using (@Html.BeginForm("GetChairmanPaperList2", "Chairman", FormMethod.Post))
{
@Html.Hidden("ConferenceId", item.ConferenceId)
<input type="submit" value="'(' + item.PaperNum + ')'等待安排的稿件" class="btn btn-primary" />
}
請問我要如何把item.PaperNum這個參數帶入Value值顯示呢?
如果是後端的參數應該是要加@吧
<input type="submit" value="(@item.PaperNum)等待安排的稿件" class="btn btn-primary" />