EndCurrentEdit

Discussion in 'Microsoft ADO .NET' started by Sudha, Nov 10, 2008.

  1. Sudha

    Sudha Guest

    I have a form with a bunch of bound text boxes. It works perfectly. I added a
    new bound text box. This bound field was already in the dataset, except it
    was not used. When I try to save the data, it clears the data in this new
    field. It saves all the other textboxes that were there before. This is what
    I found out, EndCurrentEdit clears the data. Before the app calls that line,
    the data is there, but then after executing EndCurrentEdit, it clears the
    data. I am not sure why. Any ideas? I created this new text box by copying
    from the existing text box and changing the bound field name. Not sure what I
    am doing wrong.
     
    Sudha, Nov 10, 2008
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page