G
Guest
I'm desperate! :-/.
I'm desperately trying to bind to objects together to share same data and to display it in a windows forms.
I'm trying to bind an custom object to custom control property. I do have integer selectionid "targetid" in my control and I'm trying to bind the (int) selectionid "sourceid" from my custom data source.
How can it be done? I've tried the following with no luck:
control.DataBindings.Add( "targetId", myCustData, "sourceId" );
How can this be achieved? Please help. Thanks in advance.
I'm desperately trying to bind to objects together to share same data and to display it in a windows forms.
I'm trying to bind an custom object to custom control property. I do have integer selectionid "targetid" in my control and I'm trying to bind the (int) selectionid "sourceid" from my custom data source.
How can it be done? I've tried the following with no luck:
control.DataBindings.Add( "targetId", myCustData, "sourceId" );
How can this be achieved? Please help. Thanks in advance.