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. dynamic dropdownlist

dynamic dropdownlist

Scheduled Pinned Locked Moved ASP.NET
databasevisual-studio
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.
  • M Offline
    M Offline
    Member 4772509
    wrote on last edited by
    #1

    i have 3 dropdown list and a "school table" whiah has 3 category: name ;board;location. if i select "school" in 1st dropdownlist then those two category(board & location) will be displayed in other two dropdownlist. i'm using SQL 2000 and VS 2005

    gfh

    S N 2 Replies Last reply
    0
    • M Member 4772509

      i have 3 dropdown list and a "school table" whiah has 3 category: name ;board;location. if i select "school" in 1st dropdownlist then those two category(board & location) will be displayed in other two dropdownlist. i'm using SQL 2000 and VS 2005

      gfh

      S Offline
      S Offline
      Sun Rays
      wrote on last edited by
      #2

      Hi, its really very simple. For that you have to set Autopostback porperty of first 2 dropdown to True. Now onselected index changed event of dropdown get data appropriate to selected item in dropdown.. Try... its really easy...

      Thanks, Sun Rays To get something you must have to try once. My Articles

      1 Reply Last reply
      0
      • M Member 4772509

        i have 3 dropdown list and a "school table" whiah has 3 category: name ;board;location. if i select "school" in 1st dropdownlist then those two category(board & location) will be displayed in other two dropdownlist. i'm using SQL 2000 and VS 2005

        gfh

        N Offline
        N Offline
        neerubee
        wrote on last edited by
        #3

        Set AutoPostback=true for board and location dropdowns.

        Thanks & Regards Niranjan

        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