Problem with Datasource Class
Posted on 2000-04-09
I have a textbox whose datasource is an ADO Data Connector. When I chance the recordset Property on the ADODC and call refresh, the contents of the textbox change to reflect the new recordset.
When I bind a textbox to a class that is a datasource, and change the contents of the class recordset, I am not able to get the contents of the textbox to change. The first time the datasource is set for the textbox, the GetDataMember method of the class is called, but subsequent changes to the datasource don't generate calls to the GetDataMember Event. For example, the sequence
set t.datasource = Nothing
Set t.Datasource = X
where x is a member of the datasource class, doesn't generate a GetDataMember event.
Can anyone help me with this one?