P
Pauly
I have a group of three radio buttons on a group box. In
my database I have three columns all of data type bit. I
want to bind each button so that if it is 1 then it
selects the appropriate button. Currently I have the
checked property of each radio button bound to the field
in the data source and the dataset fills without a
problem. But when I call the addnew method of the binding
manager base, it doesn't add a new record. It doesnt give
me an error and the count proerty of the bmb is
incremented, but the position property doesn't point to
the supposed new blank record. After further
investigation I discovered that a new row in the datatable
was not added and the problem is caused by the way I have
bound my radio buttons. Why don't radio buttons have the
checkstate property like the check boxes? What other
property of the radio button can I bind that acts like the
checkstate. Thanks for your help!
my database I have three columns all of data type bit. I
want to bind each button so that if it is 1 then it
selects the appropriate button. Currently I have the
checked property of each radio button bound to the field
in the data source and the dataset fills without a
problem. But when I call the addnew method of the binding
manager base, it doesn't add a new record. It doesnt give
me an error and the count proerty of the bmb is
incremented, but the position property doesn't point to
the supposed new blank record. After further
investigation I discovered that a new row in the datatable
was not added and the problem is caused by the way I have
bound my radio buttons. Why don't radio buttons have the
checkstate property like the check boxes? What other
property of the radio button can I bind that acts like the
checkstate. Thanks for your help!