I have this:

<textarea name="body" rows="10" cols="80">@Model.Body</textarea><br />

Since I do not want a user to input javascript or html into the post for security reasons, I know that the html helpers eliminate that threat.

This is what I made so far:

I do not know where to put the @Model.Body so it renders as above.

@Html.TextArea("Message", new { rows = 10, columns = 80})

Related posts

Recent Viewed