3
Reply

Cannot AddNew with databound checkbox.

Maria

Maria

Dec 17 2008 5:16 PM
3.1k

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)
Yesterday's leader
View all
Harshit  
Java, ASP Dot Net
Mumbai (India)
Allen James  
Software engineering, architecture, data.
Perl City (United Kingdom)