error in the data binding

  • Thread starter Thread starter afsheen
  • Start date Start date
A

afsheen

Thank you for your replyl

My database is being updated with the rest of the values except for one text
box . The textbox's value with data binding is calculated programmatically
and when when i run the form the correct value appears but when i press the
update button, the old value appears in the same text box ..... how do i
update the database with the programmtically calculated value in a text box
binded to the database

thanks
afsheen
 
You can just programatically code the TextField change Event
So, when the value will be chnaged in the text fields that are bound and
value will be changed
or you can out the calculating code in the updated code
thanx,
 
Thank u for replying
but my problem is that the calculated value does appear in the text box but
the database doesnt get updated. that text box is has data binding and iam
updating it through data adapter.update( ) function. As soon as i click the
update button previous calculated value is shown in the database not the new
one ........ although it does appear in the text box
thanks
afsheen
 
Back
Top