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?

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

    EndCurrentEdit doesn't work with mdi form

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

    Confused with EndCurrentEdit!!

    touf, Nov 6, 2003, in forum: Microsoft ADO .NET
    Replies:
    1
    Views:
    483
    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:
    1,293
    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:
    374
    Greg Robinson
    Jan 19, 2004
  5. Guest
    Replies:
    1
    Views:
    336
  6. dev guy
    Replies:
    1
    Views:
    591
    Miha Markic [MVP C#]
    Nov 17, 2004
  7. Jan Nielsen

    Datagrid EndCurrentEdit problem...

    Jan Nielsen, Dec 8, 2004, in forum: Microsoft ADO .NET
    Replies:
    2
    Views:
    321
    Jan Nielsen
    Dec 8, 2004
  8. Guest

    Typed dataset, bindings and endCurrentEdit

    Guest, Dec 10, 2004, in forum: Microsoft ADO .NET
    Replies:
    0
    Views:
    308
    Guest
    Dec 10, 2004
Loading...