@ModelType MvcMovie.Movie @Code ViewData("Title") = "Edit" End Code

Edit

@Using Html.BeginForm() @Html.ValidationSummary(True) @
Movie @Html.HiddenFor(Function(model) model.ID)
@Html.LabelFor(Function(model) model.Title)
@Html.EditorFor(Function(model) model.Title) @Html.ValidationMessageFor(Function(model) model.Title)
@Html.LabelFor(Function(model) model.ReleaseDate)
@Html.EditorFor(Function(model) model.ReleaseDate) @Html.ValidationMessageFor(Function(model) model.ReleaseDate)
@Html.LabelFor(Function(model) model.Genre)
@Html.EditorFor(Function(model) model.Genre) @Html.ValidationMessageFor(Function(model) model.Genre)
@Html.LabelFor(Function(model) model.Price)
@Html.EditorFor(Function(model) model.Price) @Html.ValidationMessageFor(Function(model) model.Price)

End Using
@Html.ActionLink("Back to List", "Index")