Hi, I'm so new at web development that the green paint is not yet dry.
I have a view with a drop down list of products. How do I setup an action link to display this selected item?
@using (Html.BeginForm("Index", "Home", FormMethod.Post, new { id = "ProductsForm" }))
{
@Html.Label("Select product ")
@Html.DropDownList("ProductID", (SelectList)ViewBag.Products, "--Select One--")
}
Many thanks,
Jonathan