C
csadlier
Hi All,
I am trying to use the treeview binding sample for C# and every time
the program hits the line :
this.m_currencyManager = (CurrencyManager) this.BindingContext[value];
this.m_currencyManager is undefined.
this.BindingContext is undefined
value=a dataview sent from a windows form application to a
webservice.
this = a treeview inherited usercontrol.
It blows up with this error:
A first chance exception of type 'System.NullReferenceException'
occurred in webservice.dll
Additional information: Object reference not set to an instance of
an object.
Has anyone had this problem? I'm beginning to think Binding context is
not too useful, especially with treeview controls, from the listings I
have seen.
Thanks,
Carl
I am trying to use the treeview binding sample for C# and every time
the program hits the line :
this.m_currencyManager = (CurrencyManager) this.BindingContext[value];
this.m_currencyManager is undefined.
this.BindingContext is undefined
value=a dataview sent from a windows form application to a
webservice.
this = a treeview inherited usercontrol.
It blows up with this error:
A first chance exception of type 'System.NullReferenceException'
occurred in webservice.dll
Additional information: Object reference not set to an instance of
an object.
Has anyone had this problem? I'm beginning to think Binding context is
not too useful, especially with treeview controls, from the listings I
have seen.
Thanks,
Carl