Hi all
With much consternation, I've been trying to bind two groups of radio buttons to a dataset. The field are booleans
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
COABindingManager = Me.BindingContext(DsCOA1, "ChartofAccounts")
Me.rbCostBehavior0.DataBindings.Add("Checked", DsCOA1, "sCostBehavior")
Me.rbCostBehavior1.DataBindings.Add("Checked", DsCOA1, "sCostBehavior")
Me.rbCostCenter0.DataBindings.Add("Checked", DsCOA1, "sCostCenter")
Me.rbCostCenter1.DataBindings.Add("Checked", DsCOA1, "sCostCenter")
End Sub
When running the app, an exception is shown:
Additional information: Cannot bind to property or column bCostCenter on DataSource.
This exception will also throw on the bCostBehavior column.
I'd greatly appreciate any information on binding radio buttons.
Thanks in advance.