set @html.textboxfor value code example Example: html.textboxfor add default value @Html.TextBoxFor(x => x.Age, new { @Value = "0"})