SyntaxFix
Write A Post
Hire A Developer
Questions
Simple way
@{ Model.CRN = ViewBag.CRN; } @Html.HiddenFor(x => x.CRN)