can't isolate changes to bound datatable

J

John Mas

I have a dataview on a datatable as part of a dataset. I have bound the
controls on my form to the columns in the dataview and when i modify the
fields in the form the datatable gets updated. I know that this is true
because i can repopulate the form from the datatable and i get the new
values.

But when i check if the underlying dataset .haschanges it returns false and
the databletable.getchanges returns nothing and changing the rowstatefilter
for the dataview yields nothing.

what am i missing?

Thanks

John
 
C

Cor Ligthert

John,

Mostly that is because the data is not yet in the dataset, it sounds strange
however it is.

Use than this

Bindingcontext(dv).endcurrentedit

I hope this helps?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top