Skip to content

Cannot AddNew with databound checkbox.

Maria

Asked Dec 17, 2008, 12:16 PM EST3 answers
Share
LinkedInX

The add new method of the Currency Manager fails with my checkbox that is bounded to a data table.

 

This is how I bound my checkbox to my table.

Code
cbxAvailable.Databindings.Add(“Checked”,invManTable,”IsAvailable”);


This is the Add code that runs when I click the Add button:
 myPosition = invManManager.Position;
 invManManager.AddNew();

 

When I run the program I cannot add a new row to my table.  How can I fix this?

3 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Bechir Bejaoui
    0
    What kind of exception did you recieve?
    0
  • 0

    Hello again.

    When I click Add the position does not move it remains on the current item. 

    0
  • Bechir Bejaoui
    0
    I guess that there is a method that move you next trougth the collection
    0