Datepicker Update- updates once and once only

I

Ivan Jericevich

I have a form with Textboxes and 2 datepickers, on the update everything
updates to the database just fine bar the 2 Datepickers, they updated to
database once the first time only and won't change the new date settings in
the database although the textboxes new data is being captured.I have the
Databinding set in the Value property. Is there some property in the
Datepickers that I'm overlooking?
 
C

Cor Ligthert [MVP]

Ivan,

Are you sure that you use the endcurrentedit as it is version 1.x or endedit
as it is version 2.x.

The data has to push down into the datasources.

Cor
 
I

Ivan Jericevich

Hi Cor,
this is my code for the Update
Me.Validate()

Me.TenantsBindingSource.EndEdit()

Me.TenantsTableAdapter.Update(Me.Knysna2DataSet.Tenants)
 

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