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

dropdownlist

Scheduled Pinned Locked Moved ASP.NET
database
2 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.
  • M Offline
    M Offline
    mylogics
    wrote on last edited by
    #1

    hiii.... i hav drop down list which contains vendor id list form database. on same page i have a link button named "Add new" to add new vendor(using panel for this). but when i click on save button in the panel the vendor id does not get updated in dropdown list. like if the last vendor id was 107.i added new vendor so it shud show id 108 also but it is not showing that.however the new id gets submitted in database.tell me what shud i do... :(

    G 1 Reply Last reply
    0
    • M mylogics

      hiii.... i hav drop down list which contains vendor id list form database. on same page i have a link button named "Add new" to add new vendor(using panel for this). but when i click on save button in the panel the vendor id does not get updated in dropdown list. like if the last vendor id was 107.i added new vendor so it shud show id 108 also but it is not showing that.however the new id gets submitted in database.tell me what shud i do... :(

      G Offline
      G Offline
      GSingh Developer
      wrote on last edited by
      #2

      again bind ur dropdown list after saving of data in database. Dropdownlist.databind();

      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