|
-
Nov 19th, 2007, 03:09 PM
#1
Thread Starter
Hyperactive Member
updating treeviews based on bindingnavigator
Hi,
I have a Bindingnavigator on a form indicating a row in a table. Based on that row I want to fill a treeview control.
I use a sub to fill the treeview, using a datasource that has a reference to a text box bound to the bindingnavigator.
The thing is I don´t know on which event I should put it. I´ve tried a few places and it seems that anything depending on the bindingnavigator produces an error on opening up the form.
I need to put the code so that when the form opens, the treeview fills up based on the row the form is showing, but when I move to the next item, the treeview needs to be filled again.
Any ideas?
Fuga.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|