afficher selection multiple listbox vb.net
Bonjour
je voudrais savoir une méthode efficace pour afficher sélection multiple en listbox dans un richbox ou textbox
Code:
1 2 3 4 5 6 7 8 9 10
| Dim i As Integer
Dim utilajoutxt As String = ""
Dim MonEnum As IEnumerator = Me.ListBox1.SelectedItems.GetEnumerator
i = 0
While MonEnum.MoveNext
utilajoutxt = utilajoutxt & " " & Me.ListBox1.SelectedValue.ToString
i = i + 1
End While
RichTextBox1.Text = utilajoutxt |
ce code ca marche pas !!! :cry::cry::cry:
http://upload.traidnt.net/upfiles/Nmt54224.png
Merci de m'aider