Bindingsource not updating

Rated 3.86/5 based on 795 customer reviews

When using the Infragistics controls and have them bound to a Binding Source, the Data Set. I don't understand why, but that's what happens as I modify fields on the screen.

Now, however, when my Row Change event is triggered, the data row's Row State never changes to Modified.

"Cor Ligthert [MVP]" Dale, It is probably set but you set it back with acceptchanges. Oherwise it can be that the data is still in the texboxes and not pushed down in the datatable. Cor ------=_Next Part_000_002C_01C6D7C4.331BA750 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Google-Attach Size: 2815 Dwicht, I am glad you tell this to me, however this is not in the case as the dataset."haschanges" already as trie as Dale, wrote.

Otherwise I would have given an answer like yours although that in version 2003 the endedit is not really working well and you need the endcurrentedit.

Cor "Dwight" In order for the binding source to update the rowstate of the dataset, you must call the .endedit method of the binding source.

You need to call the .update method of the table adapter to update the underlying database. End Edit() 'This sends the updates to the dataset messagebox.show(Ctype(binding Source. Update(data Source.datatable) 'This pushes the updates down to the underlying database Dwight Cor Ligthert [MVP] wrote: news:u$**************@TK2MSFTNGP03gbl...

Leave a Reply