I have window form with datadapter, typed dataset and textbox controls with
text properties binding with dataset. Dataset does not reflect changing in
controls typed by user and HasChanges method returns false. What is wrong?
Thanks for help.

Re: Dataset HasChanges trouble by Miha

Miha
Sun Nov 23 11:41:34 CST 2003

Try invoking BindingManagerBase.EndCurrentEdit method before processing
DataSet.
Something like:
textbox1.DataBindings[0].BindingManagerBase.EndCurrentEdit;

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com

"Andy" <omotl@atlas.cz> wrote in message
news:uLc1EHesDHA.684@TK2MSFTNGP09.phx.gbl...
> I have window form with datadapter, typed dataset and textbox controls
with
> text properties binding with dataset. Dataset does not reflect changing in
> controls typed by user and HasChanges method returns false. What is wrong?
> Thanks for help.
>
>



Re: Dataset HasChanges trouble by Andy

Andy
Sun Nov 23 11:48:21 CST 2003

Thanks,
it works well.

"Miha Markic" <miha at rthand com> wrote in message
news:u21$LkesDHA.3468@TK2MSFTNGP11.phx.gbl...
> Try invoking BindingManagerBase.EndCurrentEdit method before processing
> DataSet.
> Something like:
> textbox1.DataBindings[0].BindingManagerBase.EndCurrentEdit;
>
> --
> Miha Markic - RightHand .NET consulting & development
> miha at rthand com
>
> "Andy" <omotl@atlas.cz> wrote in message
> news:uLc1EHesDHA.684@TK2MSFTNGP09.phx.gbl...
> > I have window form with datadapter, typed dataset and textbox controls
> with
> > text properties binding with dataset. Dataset does not reflect changing
in
> > controls typed by user and HasChanges method returns false. What is
wrong?
> > Thanks for help.
> >
> >
>
>