How to set label to the checkbox, I looked at some sites they r using lambda expressions, but I cant understand, I am new to mvc
@{
bool chkVal = false;
}
<li>@Html.CheckBox("chksumma",chkVal,new {@value = "5"})</li>
<li>@Html.LabelFor(, "");
I think this will help you:
I found it here: http://forums.asp.net/t/1812284.aspx/1 | |||
|