I think the following is what you are looking for. Keep in mind, this is sample code. You'll need to populate the dropdown with values from your data. I removed the redirect with a form that does a an HTTP GET to ItemDetails. The post to ItemDetails returns JSON so you can see the values passed to the action.
public class ItemController : Controller
{
[HttpGet]
public ActionResult GetItemID()
{
return View();
}
[HttpGet]
public ActionResult ItemDetails(int ITEM_ID)
{
var item = new Item() { ITEM_ID = ITEM_ID };
List<SelectListItem> options = new List<SelectListItem>()
{
new SelectListItem()
{
Value = "1",
Text="Option 1"
},
new SelectListItem()
{
Value = "2",
Text="Option 2"
},
new SelectListItem()
{
Value = "3",
Text="Option 3"
}
};
ViewData["Options"] = options;
return View(item);
}
// POST: ItemDetails
[HttpPost]
public ActionResult ItemDetails(string ITEM_ID, string ddPick)
{
return Ok(new { ITEM_ID = ITEM_ID, ddPick = ddPick });
GetItemID.cshtml
@{
ViewData["Title"] = "GetItemID";
}
<h1>GetItemID</h1>
<div>
<form asp-action="ItemDetails" method="get">
<div>
<input type="text" name="ITEM_ID" />
</div>
<div>
<input type="submit" value="submit"
</div>
</form>
</div>
ItemDetails.cshtml
@model MvcDemo.Models.Item
@{
ViewData["Title"] = "ItemDetails";
}
<h1>ItemDetails</h1>
<div>
<form method="post">
<div>
<input type="hidden" asp-for="ITEM_ID" />
<label>@Model.ITEM_ID</label>
</div>
<div>
<select name="ddPick" asp-items="@((List<SelectListItem>)ViewData["Options"])">
<option value="">--Select--</option>
</select>
</div>
<div>
<input type="submit" value="submit" />
</div>
</form>
</div>
Item Model
public class Item
{
public int ITEM_ID { get; set; }
}
This site has a lot of great tutorials that cover fundamental programming patterns in MVC. I recommend the going through the following. Get started with ASP.NET Core MVC ASP.NET Core MVC with EF Core - tutorial series