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.
Similar Threads
  1. Erman

    EndCurrentEdit doesn't work with mdi form

    Erman, Sep 25, 2003, in forum: Microsoft ADO .NET
    Replies:
    0
    Views:
    214
    Erman
    Sep 25, 2003
  2. touf

    Confused with EndCurrentEdit!!

    touf, Nov 6, 2003, in forum: Microsoft ADO .NET
    Replies:
    1
    Views:
    351
    David Sceppa
    Nov 7, 2003
  3. John Hui

    TextBox databinding (using endcurrentedit)

    John Hui, Dec 18, 2003, in forum: Microsoft ADO .NET
    Replies:
    6
    Views:
    834
    Miha Markic
    Dec 22, 2003
  4. Greg

    Strange behavior on calls to EndCurrentEdit

    Greg, Jan 15, 2004, in forum: Microsoft ADO .NET
    Replies:
    7
    Views:
    261
    Greg Robinson
    Jan 19, 2004
  5. Guest
    Replies:
    1
    Views:
    218
Loading...

Share This Page