Datagridview

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sravanthi29
    New Member
    • Jun 2007
    • 3

    Datagridview

    I have a Datagridview that is read only. When selecting a row, the item should be edited in
    individual controls on the form, also bound to the same
    bindingsource. The default behavior is that when the value is changed in a
    textbox, it only repaints the value in the Datagridview cell after the textbox commits
    the value to the underlying object. I want it to update the Datagridview cell's
    display in real time.

    Windows application ( C#.net 2.0)
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    You will need to add an event handler to your textboxes to detect the changes and call like commit (or whatever they call it to trigger the binding source to be updated)

    Comment

    Working...