Posts by Riccarsan • 3 points
1 post
-
0
votes1
answer142
viewsQ: How to assign a value to a select option (HTML element) and display data associated with that value? ASP.NET
I have a select that is being 'populated' as follows in my ASP.NET application: <select id="id_select" class="form-control"> @foreach (var x in listay) { <option value = "@x.nome">…