Hi,
I'm trying to set up a multiple select list boxes selected items, but it's only displaying the last item. Does anyone know how to do this?
This is what I have -
vb Code:
... Dim sSSect_Ids As String = clAct.DeNull(dr("SSection_Ids")) If sSSect_Ids <> vbNullString Then Dim sVals() As String = sSSect_Ids.Split(",".ToCharArray) Dim i As Int32 = -1 Dim uBnd As Int32 = UBound(sVals) For i = 0 To uBnd sVals(i) = clAct.DeNull(sVals(i).Trim) If sVals(i) <> vbNullString Then Me.ddlSSection.SelectedValue = Convert.ToString(sVals(i)) End If Next End If ...
Al




Reply With Quote