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. C#
  4. Dynamic ComboBox

Dynamic ComboBox

Scheduled Pinned Locked Moved C#
helpquestion
3 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.
  • T Offline
    T Offline
    T EDY
    wrote on last edited by
    #1

    Hi, i've a problem how we can bind our data in databse into a combobox?can anyone help me? Thank YOu Regard, Tomi

    P 1 Reply Last reply
    0
    • T T EDY

      Hi, i've a problem how we can bind our data in databse into a combobox?can anyone help me? Thank YOu Regard, Tomi

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      You set your Data Source property to what ever query/view or stored procedure you are getting the data from. You then set Display Member to the field you want to display. Value Member is the field value that you want the selected value to return. Hope this helps you out.

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer

      T 1 Reply Last reply
      0
      • P Paul Conrad

        You set your Data Source property to what ever query/view or stored procedure you are getting the data from. You then set Display Member to the field you want to display. Value Member is the field value that you want the selected value to return. Hope this helps you out.

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer

        T Offline
        T Offline
        T EDY
        wrote on last edited by
        #3

        Thanks A lot Paul..You Solve My Problem:) Thanks and Regard TCim

        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