skip to Main Content

Why doens't the form use my method from my Controller? – Asp.net

This form instead using the "Verify function in my controllers goes to the subpage /Account/Verify Form: @using (Html.BeginForm("Verify", "Account", FormMethod.Post)) { <span>Enter Your Email:</span>@Html.TextBoxFor(m=>m.Name)<br /> <span>Enter Your Password:</span>@Html.TextBoxFor(m=>m.Password)<br /> <input id="Submit" type="submit" value="submit" /> } Method: [HttpPost] public ActionResult Verify(Account…

VIEW QUESTION
Back To Top
Search