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. how can i display data in listbox?

how can i display data in listbox?

Scheduled Pinned Locked Moved Visual Basic
questiondatabase
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.
  • R Offline
    R Offline
    Rharzkie
    wrote on last edited by
    #1

    i have a database of lists of subjects...then in my module, i want to display all the subjects that i recorded in the listbox... how can i do it? i already connect my dataset in the connection wizard but i can't display it in the listbox.

    E 1 Reply Last reply
    0
    • R Rharzkie

      i have a database of lists of subjects...then in my module, i want to display all the subjects that i recorded in the listbox... how can i do it? i already connect my dataset in the connection wizard but i can't display it in the listbox.

      E Offline
      E Offline
      enmahdi
      wrote on last edited by
      #2

      at the first time you should set your listbox datasourse it will be your table in your dataset and then set displayMember it will be the column name of the table it will be shown to user and then set valueMember it will be the column name that is not been shown to user .

      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