binding an arry to listbox control
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
hi i want bind the values in arry to a listbox like how we are going with dataset could any one help me for this
with regards Balagurunathan.B
Hi, I am not sure if I got you right, but to bind an array to a listbox you can do the following: Dim arr() as string = {"A", "B", "C"} Listbox1.Datasource = arr ' -> A, B, and C will be displayed in three items Hope this helps :)
NajiCo http://www.InsideVB.NET[^] It's nice 2b important, but it's more important 2b nice... http://www.facebook.com/group.php?gid=5932660937[^]