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. C#
  4. Deriving combobox

Deriving combobox

Scheduled Pinned Locked Moved C#
questioncssdatabasetutorial
1 Posts 1 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.
  • M Offline
    M Offline
    Marc LEcuyer
    wrote on last edited by
    #1

    Ok.. here's what I'm trying to do :) I have a windows form with a datagrid that display the content of a table in a database. (let's say countries for example) I can edit, delete and add records in this grid. In another windows form, I have a combobox. This combobox displays all countries. I want to add an item in this combobox (Add a country) and when I select it, I have to show the first form to allow the user to add, edit, delete countries and then select one. All changes applied in the grid have to be applied in the combobox and the (Add a country) item must not appear in the grid. How can I add an item manually in the combobox when this one is binded to a datasource? :omg: I don't know if it's possible, but if it is, if someone could send me some tips, I would appreciate! Thanks Marc

    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