public string Emp_Gender{get; set;} index.cshtml @model MvcApplication.Model.UserModel @using (Html.BeingForm()) { @Html.RadioButtonFor(m=>m.Emp_Gender,"Male")Male @Html.RadioButtonFor(m=>m.Emp_Gender,"Female")Female }
@using (Html.BeingForm()) { @Html.RadioButtonFor(m=>m.Emp_Gender,"Male",new { @class = "cssclass" })Male @Html.RadioButtonFor(m=>m.Emp_Gender,"Female",new { @class = "cssclass" })Female }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)