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. WPF
  4. Problem with datagrid

Problem with datagrid

Scheduled Pinned Locked Moved WPF
databasehelptutorial
4 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.
  • A Offline
    A Offline
    Arun kumar Gautam
    wrote on last edited by
    #1

    I have a datagrid in which i used textbox in one cell and combobox in editing of that cell. m wanna tht as i write something in that textbox combobox will show the related contents from database . can anyone tell me how to do it

    L R 3 Replies Last reply
    0
    • A Arun kumar Gautam

      I have a datagrid in which i used textbox in one cell and combobox in editing of that cell. m wanna tht as i write something in that textbox combobox will show the related contents from database . can anyone tell me how to do it

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Something like one of these[^] perhaps.

      Use the best guess

      1 Reply Last reply
      0
      • A Arun kumar Gautam

        I have a datagrid in which i used textbox in one cell and combobox in editing of that cell. m wanna tht as i write something in that textbox combobox will show the related contents from database . can anyone tell me how to do it

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

        Use textbox's TextChanged event for this.

        1 Reply Last reply
        0
        • A Arun kumar Gautam

          I have a datagrid in which i used textbox in one cell and combobox in editing of that cell. m wanna tht as i write something in that textbox combobox will show the related contents from database . can anyone tell me how to do it

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Seem the problem is related as mine, perhaps I have a problem on my Combobox. I cannot get the value from database according to the data i choose. example of my database: Column "Planing" are my combobox.

          /*
          DatagridView:

          Name|Company(*)|Planing

          Hi|A|A1
          Ki|B|B1

          *) column Company as name of table indatabase
          #) column Planing as name of Column in Table A.

          Table A
          A1 A2 A3

          S1 S2 S3

          Table B
          B1 B2 B3

          T1 T2 T3

          */

          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