Posted on: 5/6/2014 3:30:51 PM | Views : 304

here IS my razor syntex
<div class="form-group"> @Html.LabelFor(model => model.Gender, new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.RadioButtonFor(model => model.Gender,"Male",true) Male @Html.RadioButtonFor(model => model.Gender,"Female",false) Female @Html.ValidationMessageFor(model => model.Gender)<br /> </div> this is my c# code
if (ModelState.IsValid) { var newUser = new tblUser { firstName = user.firstName, lastName = user.lastName, userEmail = user.userEmail, userPass = user.userPas ...

Go to the complete details ...