Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. binding an arry to listbox control

binding an arry to listbox control

Scheduled Pinned Locked Moved Visual Basic
wpfwcfhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    balakpn
    wrote on last edited by
    #1

    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

    N 1 Reply Last reply
    0
    • B balakpn

      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

      N Offline
      N Offline
      Naji El Kotob
      wrote on last edited by
      #2

      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[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups