Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Generate route from form

$
0
0
<a asp-action="Index" asp-route-id="1">1</a>

<form asp-action="Index" method="get"><select name="id"><option value="1">1</option></select></form>

Hi, how can I generate same route like in the hyperlink (Home/Index/1) from form below?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>