Thank's Cor,
but solving of my problem was easy, see folow
this.dsMachineTypes.AcceptChanges();
grdMachineType.CurrentRowIndex = -1; // it's :)
this.grdMachineType.BindingContext[this.dsMachineTypes.MachineTypes].EndCurr
entEdit();
this.daMachineT.Update(this.dsMachineTypes.MachineTypes);
> BFX
>
[quoted text clipped - 38 lines]
> >>
> >> > this.dsMachineTypes.GetChanges();
this.grdMachineType.BindingContext[this.dsMachineTypes.MachineTypes].EndCurr
> >> > entEdit();
> >>
[quoted text clipped - 8 lines]
> >>
> >> Cor
Cor Ligthert - 06 May 2005 10:17 GMT
> Thank's Cor,
>
[quoted text clipped - 4 lines]
> entEdit();
> this.daMachineT.Update(this.dsMachineTypes.MachineTypes);
And you are sure that with this code, when somebody changing first the rows
in the grid before clicking on the button, update the changes.
It will in my opinion be a miracle however when you say so. For the rest it
is accoording what I tried to tell you all the time, where I was thinking
that you were updating using the getchanges method.
In this way will withouth that acceptchanges probably this enough.
\\\
BindingContext[dsMachineTypes.MachineTypes].EndCurrentEdit();
////
Cor