Form helper in visual c#


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <% using (Html.BeginForm("Index", "home", FormMethod.Post, new { enctype = "multipart/form-data" }))
  2. {%>
  3. <%= Html.TextBox("textboxId")%>
  4. <%}%>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.