i've got a class, with a public property cName (string).
i've instantiated the class, & when i try to execute the following piece of
coding,
Me.TextName.DataBindings.Add(New Binding("Text", oCustomers, "cName"))
then i get the following error,
"Additional information: Object reference not set to an instance of an
object."
But the object oCustomers has been initialized, i can even access its
property.
I tried this code by even using the datatable instead of the customers
class.
Me.TextName.DataBindings.Add(New Binding("Text", oCustomersTable, "cName"))
'Where oCustomersTable is the reference to a valid (public property) storing
a data table with the field cName
please help