Answers for "Html.Beginform"

C#
0

Html.Beginform

@using (Html.BeginForm("Index", "Home", FormMethod.Get))
{
  //Code Here

}
Posted by: Guest on October-06-2021
0

html.beginform

@using (Html.BeginForm("Search", "YOUR CONTROLLER", FormMethod.Post)){    
     <p> Title: @Html.TextBox("SearchString") <br />   
     <input type="submit" value="Filter" /></p> 
}
Posted by: Guest on October-08-2021

C# Answers by Framework

Browse Popular Code Answers by Language