Treeview Control data refresh

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone have sample code to reload a treeview control from within a form?
I keep getting a duplicate key error because the refresh is appending to the
data in the control.
 
CMP said:
Does anyone have sample code to reload a treeview control from within
a form? I keep getting a duplicate key error because the refresh is
appending to the data in the control.

You should do a Treeview.Nodes.Clear before reloading data.

Acki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top