我想創建一個價值內的WebGrid一個複選框的選擇,因爲INT內的WebGrid創建一個複選框
下面我怎麼做了......
grid.Column("",header:"Select",format:(item)=>Html.CheckBox(String.Format("{0}",(int)item.ID),false,new{id="chkSelected", Style="width:60px"})),
,它正在爲我好,但我想使用類似下面
grid.Column(header: "{CheckBoxHeading}", format:
@<text><input class="box" type="checkbox" /></text>)
注:我使用的aspx引擎上,而不是剃刀
好心幫me..how做我實現與發動機的aspx上述語法
感謝
阿曼