Re: Data binding problem by Dmytro
Dmytro
Fri May 12 01:27:33 CDT 2006
Hello,
If the focus is in the text box when you click the "Update" button with the
mouse, chances are that the textbox doesn't lose the focus and therefore,
does not notifies the bound data source that the data have been changed. If
this is the case, you should programmatically remove the focus from the text
box before calling DataAdapter.Update();
"Gabriel" <ml@cista.be> wrote in message
news:%23NG7afSdGHA.4720@TK2MSFTNGP03.phx.gbl...
> Hello,
>
> I'd like to make something easy, in theory.
>
> In C#, I have a database, and some textbox, I'd like to bind theses
> textbox, that's that work.
>
> But I'd like update the change (update database) and I push on a button, I
> tried the Update of the DataAdapter but that's not work.
>
> Could you help me?
>
> A full sample is welcome.
>
> Thanks,
>
>
>
>
>