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. General Programming
  3. Visual Basic
  4. MultiColumn ComboBox from DataGridViewComboBoxEditingControl Class(Urgent)

MultiColumn ComboBox from DataGridViewComboBoxEditingControl Class(Urgent)

Scheduled Pinned Locked Moved Visual Basic
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.
  • H Offline
    H Offline
    HemaRawat
    wrote on last edited by
    #1

    Hi all I want to have a column in datagridview which is showing the combobox with multiple columns Can Datagridviewcomboboxediting control class can help in any way Plz its very urgent to me Can idea , Clue , Suggestion, Source, way is highly appreciated Thanks for this help Hema Chaudhry

    D 1 Reply Last reply
    0
    • H HemaRawat

      Hi all I want to have a column in datagridview which is showing the combobox with multiple columns Can Datagridviewcomboboxediting control class can help in any way Plz its very urgent to me Can idea , Clue , Suggestion, Source, way is highly appreciated Thanks for this help Hema Chaudhry

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Section 5.9[^] of George Shepherd's Windows Forms FAW shows you how to add a normal ComboBox to a DataGrid. Now, the .NET Framework doesn't supply a multiple column ComboBox, so you'll have to implement your own control to do it. Once you have the contorl built, you can add it to the DataGrid, just lkike a normal ComboBox. You can find a multi-column ComboBox here[^] on CodeProject. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      H 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Section 5.9[^] of George Shepherd's Windows Forms FAW shows you how to add a normal ComboBox to a DataGrid. Now, the .NET Framework doesn't supply a multiple column ComboBox, so you'll have to implement your own control to do it. Once you have the contorl built, you can add it to the DataGrid, just lkike a normal ComboBox. You can find a multi-column ComboBox here[^] on CodeProject. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        H Offline
        H Offline
        HemaRawat
        wrote on last edited by
        #3

        Thanks for reply The links which u suggested r not working with vb.net 2003 datagrid I will try in the vb.net 2005 DO u know how to add the custom controls in datagridview of vb.net 2005 Thanks in advance Hema Chaudhry

        D 1 Reply Last reply
        0
        • H HemaRawat

          Thanks for reply The links which u suggested r not working with vb.net 2003 datagrid I will try in the vb.net 2005 DO u know how to add the custom controls in datagridview of vb.net 2005 Thanks in advance Hema Chaudhry

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Actually, that code was written in 2003. You can't just copy, paste, and pray it works. You have to fully understand what's going on in that code. Custom controls are handled by the DataGrid no differently than the standard controls, provided the custom controls are written exposing the correct interfaces. THe code on those links won't work with 2005 because the DataGrid was replaced with the DataGridView control, which doesn't work the same way the old DataGrid does. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          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