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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Combobox.SelectedValue and Combobox.Text

Combobox.SelectedValue and Combobox.Text

Scheduled Pinned Locked Moved C#
question
4 Posts 3 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.
  • J Offline
    J Offline
    JCompiler
    wrote on last edited by
    #1

    hi every one , if i have any combobox filled with column in any table (MemeberValue, DataSource, DisplayName) and i need to change the text of this combo if i know the MemeberValue(ID). how can i do that ??

    M D 2 Replies Last reply
    0
    • J JCompiler

      hi every one , if i have any combobox filled with column in any table (MemeberValue, DataSource, DisplayName) and i need to change the text of this combo if i know the MemeberValue(ID). how can i do that ??

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      That will depend on what UI you are using, winforms/wpf/silverlight/asp and that is just the common ones.

      Never underestimate the power of human stupidity RAH

      J 1 Reply Last reply
      0
      • M Mycroft Holmes

        That will depend on what UI you are using, winforms/wpf/silverlight/asp and that is just the common ones.

        Never underestimate the power of human stupidity RAH

        J Offline
        J Offline
        JCompiler
        wrote on last edited by
        #3

        iam using winforms

        1 Reply Last reply
        0
        • J JCompiler

          hi every one , if i have any combobox filled with column in any table (MemeberValue, DataSource, DisplayName) and i need to change the text of this combo if i know the MemeberValue(ID). how can i do that ??

          D Offline
          D Offline
          Dilan Shaminda
          wrote on last edited by
          #4

          When you want to change the text? When _SelectedIndexChanged event fired?

          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