I want to retrieve the multi-select values after selected it this is the code in aspx page
<div class="multiselect" id="lblMultiSelect" runat="server" multiple="multiple" data-target="multi-0">
<div class="title noselect">
<span class="text">Select</span>
<span class="close-icon">×</span>
<span class="expand-icon">+</span>
</div>
<div class="container" runat ="server" id="t">
<% For v As Integer = 0 To Years_dt.Rows.Count - 1 %>
<% Dim selectedYear As String %>
<% selectedYear = Years_dt.Rows(v).Item("COLUMN_NAME")%>
<option style="color:black;" value="<%Response.Write(selectedYear) %>" >
<% Response.Write(selectedYear)%> </option>
<%next %>
</div>
</div>
in the vb, I want to for each in these values and there is an option to select and delete the selection like this how the dropdown list looks like
Aucun commentaire:
Enregistrer un commentaire