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. list box control

list box control

Scheduled Pinned Locked Moved ASP.NET
help
4 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.
  • R Offline
    R Offline
    rajkumar 3
    wrote on last edited by
    #1

    hey any one can help me in making a list box control as muliple columns. with this code its looking nasty. UserList.Items.Add(pcon.dr1(0) & "|" & pcon.dr1(1) & "|" & pcon.dr1(2))

    E 1 Reply Last reply
    0
    • R rajkumar 3

      hey any one can help me in making a list box control as muliple columns. with this code its looking nasty. UserList.Items.Add(pcon.dr1(0) & "|" & pcon.dr1(1) & "|" & pcon.dr1(2))

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      I was told before I think on this forum that you can't put two columns in a listbox control, I think you can join two different listboxes together but you cant use two columns in one

      R 1 Reply Last reply
      0
      • E eyeseetee

        I was told before I think on this forum that you can't put two columns in a listbox control, I think you can join two different listboxes together but you cant use two columns in one

        R Offline
        R Offline
        rajkumar 3
        wrote on last edited by
        #3

        www.codeproject.com/KB/webforms/MCEnhancedListBoxControl.aspx hey in above exapmle i want to assign a datareader to get list box items. and when transfering like in above page can i transfer datavaluefield ? there i can transfer only selected text only. i want to transfer datavaluefield also can any one suggest.

        E 1 Reply Last reply
        0
        • R rajkumar 3

          www.codeproject.com/KB/webforms/MCEnhancedListBoxControl.aspx hey in above exapmle i want to assign a datareader to get list box items. and when transfering like in above page can i transfer datavaluefield ? there i can transfer only selected text only. i want to transfer datavaluefield also can any one suggest.

          E Offline
          E Offline
          eyeseetee
          wrote on last edited by
          #4

          I thought it was already taken the datavalue field because it is using lstBox.SelectedItem.Value.ToString();

          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