Datarow rowstate not updating

If I load a table(static data for Combo Box) in the Data Set manually; the Data Set now says it has changes.I call Accept Changes() on the Data Set; this fixes the problem.Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose.Please refer to the Dev Website Terms of Use for more information.What I have observed is that by calling Accept Changes() when initialising the Data Set BEFORE opening the form causes the above problem."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 When I inspect the Row Changed event, the row data has changed by the control, BUT the Row State remains as unchanged, NOT modified, as one would expect.Now, however, when my Row Change event is triggered, the data row's Row State never changes to Modified.

I hope this gives an idea, Cor "Dale Harris" I'm getting really strange behaviour where the data source Row State is not being updated to modified in some circumstances.Why doesn't the Binding Source have some sort of event on a column change, rather than going all the way back to the underlying Data Table in the Data Set?If the underlying Data Row has changed (from what I can tell it does change), shouldn't there be a flag on the Row to indicate if a change has been made?"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 In order for the binding source to update the rowstate of the dataset, you must call the .endedit method of the binding source.If you then check the rowstate, it will accurately reflect the status of the row.

Search for datarow rowstate not updating:

datarow rowstate not updating-56datarow rowstate not updating-84datarow rowstate not updating-83datarow rowstate not updating-50

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “datarow rowstate not updating”

  1. It is brand new, and yet, seemingly, it is all we know. Here are some fundamentals: Modern dating philosophy assumes that there will be several intimate romantic relationships in a person's life before marriage.