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. How to get Distinct values in DropDownList?

How to get Distinct values in DropDownList?

Scheduled Pinned Locked Moved ASP.NET
tutorialxmlquestion
3 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.
  • C Offline
    C Offline
    chand10
    wrote on last edited by
    #1

    Hi I am trying to bind DropDownList with a XML file and I'm successful in doing that. But in my XML file I have repeated child nodes and I end up with repeated value in my DropDownList. How to bind DropDownList with distinct values from XML Please suggest me an example.

    I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu

    T 1 Reply Last reply
    0
    • C chand10

      Hi I am trying to bind DropDownList with a XML file and I'm successful in doing that. But in my XML file I have repeated child nodes and I end up with repeated value in my DropDownList. How to bind DropDownList with distinct values from XML Please suggest me an example.

      I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu

      T Offline
      T Offline
      Tirthadip
      wrote on last edited by
      #2

      look at this.... http://www.thescripts.com/forum/thread175962.html[^]

      Tirtha Do not go where the path may lead, go instead where there is no path and leave a trail. Author: Ralph Waldo Emerson (1803-82), American writer, philosopher, poet, essayist

      C 1 Reply Last reply
      0
      • T Tirthadip

        look at this.... http://www.thescripts.com/forum/thread175962.html[^]

        Tirtha Do not go where the path may lead, go instead where there is no path and leave a trail. Author: Ralph Waldo Emerson (1803-82), American writer, philosopher, poet, essayist

        C Offline
        C Offline
        chand10
        wrote on last edited by
        #3

        Thanx for ur reply. But how can I bind this to a DropDownList.

        I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu

        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