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. Web Development
  3. ASP.NET
  4. DropDownList(Urgent)

DropDownList(Urgent)

Scheduled Pinned Locked Moved ASP.NET
databaselearning
3 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.
  • Z Offline
    Z Offline
    Zuhair Rizvi
    wrote on last edited by
    #1

    Hi, I m a beginner.I want to know that when i click an item in a dropdownlist,how can corresponding value(corresponding to that dropdownlist item in a database ) is displayed in a textbox. Thanx in advance

    M S 2 Replies Last reply
    0
    • Z Zuhair Rizvi

      Hi, I m a beginner.I want to know that when i click an item in a dropdownlist,how can corresponding value(corresponding to that dropdownlist item in a database ) is displayed in a textbox. Thanx in advance

      M Offline
      M Offline
      Mohammed Amine
      wrote on last edited by
      #2

      i'm a beginner too , but try a proprety called autoposteback "proprity of dropdownlist" make it true & try the stuff try to be good if you can't be the best

      1 Reply Last reply
      0
      • Z Zuhair Rizvi

        Hi, I m a beginner.I want to know that when i click an item in a dropdownlist,how can corresponding value(corresponding to that dropdownlist item in a database ) is displayed in a textbox. Thanx in advance

        S Offline
        S Offline
        sandeep_thakur
        wrote on last edited by
        #3

        textbox1.text=dropdownlist1.selecteditem.text

        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