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. listbox to display

listbox to display

Scheduled Pinned Locked Moved ASP.NET
help
4 Posts 4 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.
  • O Offline
    O Offline
    Oga M
    wrote on last edited by
    #1

    Please help me. In my project after the user selected the projectname from drop down the listbox to display all the name of the projectmembers working under that project automatically. can you show me the code for this problem. Thank you in advance oga m

    C S K 3 Replies Last reply
    0
    • O Oga M

      Please help me. In my project after the user selected the projectname from drop down the listbox to display all the name of the projectmembers working under that project automatically. can you show me the code for this problem. Thank you in advance oga m

      C Offline
      C Offline
      ca8msm
      wrote on last edited by
      #2

      Use the SelectedIndexChanged event of the DropDownList to populate your ListView based on the SelectedItem of the DropDownList.

      Mark, http://aspnetlibrary.com

      1 Reply Last reply
      0
      • O Oga M

        Please help me. In my project after the user selected the projectname from drop down the listbox to display all the name of the projectmembers working under that project automatically. can you show me the code for this problem. Thank you in advance oga m

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        In the dropdownSelected Index changed event call the database and pop up the listbox show listbox ListBox.Visible =true

        Thanks and Regards Sandeep If you want something you never had, do something you have never done!

        1 Reply Last reply
        0
        • O Oga M

          Please help me. In my project after the user selected the projectname from drop down the listbox to display all the name of the projectmembers working under that project automatically. can you show me the code for this problem. Thank you in advance oga m

          K Offline
          K Offline
          K R Neelima
          wrote on last edited by
          #4

          if u want to take projectmembers fron the database who is working under some specified project then take selectedvalue/selectedindex and specify in the query vth condition "where".then use for loop by declaring one datarow and then add data in the dataset to listox...Do all this coding in DropDownlist_selectedIndexChanged(...)method... I hope u understood... send ur comments...& suggestions ...if there is any better way to do this... bye... Neelima

          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