dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: [2003]DataBinding question

  1. #1
    Join Date
    Feb 2005
    Location
    Israel
    Posts
    1,475

    [2003]DataBinding question

    I have a problem with DataBinding.
    I have a grid in my form which is bounded to a DataView.
    To the right of the grid I have several controls. The controls are bound to the same DataView. Some of the controls are bound to fields that are shown in the grid.

    When I select a row in the DataGrid, the text in the controls change according to the selected rows.

    My Problem: When I edit one of the controls I want the data in the grid to change accordingly. Currently I must select some row in the grid (using the mouse) in order for the data to change in the grid.

    Any solutions?

  2. #2
    Join Date
    Feb 2005
    Location
    Israel
    Posts
    1,475

    Re: [2003]DataBinding question

    I'm surprised that no-one encountered this situation.

    Let me rephrase:
    I want when I edit the grid to have the changes in the DataView immediately without me having to click in another row.
    Also when I edit a bound control I want the changes to be be in the DataView immediately.
    Any solutions?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)