Jump to content

Recommended Posts

Posted

This is a C# 2.0*Win Forms app.

I have my dataset filling a treeview, and that works great. I have a list view that I want to bind to a child table.

 

I know I can't automatically bind the treeview to the relationship. I'd like to do something where I find the row in the parent table using code, and have the listbox reflect based on the relationship.

 

On the treeview.afterselect event I'm trying this:

currentProjectData.SectionDocuments.ParentTable.FindByProjectSectionID(sectionRow.ProjectSectionID).BeginEdit();

 

But that doesn't seem to trigger the listbox to refresh.

 

I'm probably trying this the wrong way. Any ideas?

 

More...

 

View All Our Microsft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...