Hi, I have a windows form that I bind to a datatable via a binding source. The binding is done in code at run time. Eg;
Me.txtCode.DataBindings.Add(New System.Windows.Forms.Binding("Text", bsForm, "ToolCode", True))
(bsForm is the binding source)
This works well except if the form control is hidden (I have a couple controls on the form that hold Record ID and Version numbers that the user doesn't need to see). Databinding doesn't seem to work reliably for hidden controls.
Has anybody got a solution to this problem?
Thanks in Advance
Richard
Me.txtCode.DataBindings.Add(New System.Windows.Forms.Binding("Text", bsForm, "ToolCode", True))
(bsForm is the binding source)
This works well except if the form control is hidden (I have a couple controls on the form that hold Record ID and Version numbers that the user doesn't need to see). Databinding doesn't seem to work reliably for hidden controls.
Has anybody got a solution to this problem?
Thanks in Advance
Richard