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. asp.net 4 with sql server 2008

asp.net 4 with sql server 2008

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesql-serversysadmin
5 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.
  • L Offline
    L Offline
    lillain219
    wrote on last edited by
    #1

    Hi guys I need help. I would to know how to fill listbox with dropdown list data please Thx

    S V 2 Replies Last reply
    0
    • L lillain219

      Hi guys I need help. I would to know how to fill listbox with dropdown list data please Thx

      S Offline
      S Offline
      Sarvesh Kushwaha
      wrote on last edited by
      #2

      please clear you scenario still i m giving you an answer ;P . Solution 1. you can fill the listbox from dropdown data by using Dictionary or list . 1.first get your data in a dictionary. 2.then fill your list box using this data. Soultion 2. ListBox1.Items.Add(DropDownList1.SelectedValue);

      L 1 Reply Last reply
      0
      • S Sarvesh Kushwaha

        please clear you scenario still i m giving you an answer ;P . Solution 1. you can fill the listbox from dropdown data by using Dictionary or list . 1.first get your data in a dictionary. 2.then fill your list box using this data. Soultion 2. ListBox1.Items.Add(DropDownList1.SelectedValue);

        L Offline
        L Offline
        lillain219
        wrote on last edited by
        #3

        Thx you for you help. MoreOver I would like know how I can use the Dictionary, my question is how the post the article which I select in my dropdownlist, then how i make to record it by getting back Id

        1 Reply Last reply
        0
        • L lillain219

          Hi guys I need help. I would to know how to fill listbox with dropdown list data please Thx

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          http://forums.asp.net/t/1457786.aspx/1[^]

          Vasudevan Deepak Kumar Personal Homepage
          Tech Gossips
          The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

          L 1 Reply Last reply
          0
          • V Vasudevan Deepak Kumar

            http://forums.asp.net/t/1457786.aspx/1[^]

            Vasudevan Deepak Kumar Personal Homepage
            Tech Gossips
            The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

            L Offline
            L Offline
            lillain219
            wrote on last edited by
            #5

            thx guy but i would like to keep the iD for my listbox and keep in one table who have two FKs Thx

            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