Well, Denis, I have a question for you ... I cannot find a DataSource or DataMember property for TextBox controls. So, what exactly are you doing?
~~Bonnie
>Hi,
>I using ArrayList as DataSource for my form.
>The form has DataGrid and Textboxes.
>DataGrid.DataSource = Me.oArrayList
>DataGrid.DataMember = ""
>
>Textbox.DataSource = Me.oArrayList
>Textbox.DataMember = "valid_object_property"
>
>All works fine untill I delete all items from ArrayList.
>DataGrid is empty, but textboxes still contains last item information.
>
>How can I refresh textboxes when ArrayList.count = 0?
>
>Thanks