3
Answers

Cannot AddNew with databound checkbox.

Maria

Maria

16y
3.5k
1

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.

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?

 

Answers (3)