Posted on: 10/24/2014 12:44:03 PM | Views : 397

Hi, the code snap below is in asp.net MVC, I need help to change it to asp.net web formThanks<div class="form-group"> <label class="col-md-2 control-label"> Select User Role </label> <div class="col-md-10"> @foreach (var item in (SelectList)ViewBag.RoleId) { <input type="checkbox" name="SelectedRoles" value="@item.Value" class="checkbox-inline" /> @Html.Label(item.Value, new { @class = "control-label" }) } </div> </div>

Go to the complete details ...