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. Web Development
  3. ASP.NET
  4. dropdownlist not populating

dropdownlist not populating

Scheduled Pinned Locked Moved ASP.NET
csharpvisual-studioasp-netwindows-admin
2 Posts 2 Posters 2 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.
  • C Offline
    C Offline
    cmu_man
    wrote on last edited by
    #1

    I have two dropdown lists on a webform using vs 2005/asp.net 2.0. The first is populated via an sqldatasource. The second dropdown list is populated via a second sqldatasource with a where clause based on the selected value of the first dropdown. In visual studio the population of both dropdowns work fine but when I publish to IIS only the first dropdown is populated. At this point I am out of ideas. Any suggestions would be greatly appreciated. Here is the source code. <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> Untitled Page

    P 1 Reply Last reply
    0
    • C cmu_man

      I have two dropdown lists on a webform using vs 2005/asp.net 2.0. The first is populated via an sqldatasource. The second dropdown list is populated via a second sqldatasource with a where clause based on the selected value of the first dropdown. In visual studio the population of both dropdowns work fine but when I publish to IIS only the first dropdown is populated. At this point I am out of ideas. Any suggestions would be greatly appreciated. Here is the source code. <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> Untitled Page

      P Offline
      P Offline
      postmaster programmingknowledge com
      wrote on last edited by
      #2

      See an example at http://www.programmingknowledge.com/dataControl.aspx[^]

      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