|
-
Jan 29th, 2013, 01:21 AM
#1
Thread Starter
PowerPoster
How to drag and drop a datagridviewrow onto a treeview
Hi Guys,
I want to make u user control that contains a treeview. I will dynamically generate them on the form according to an option selected on a combobox. Then I have two datagridviews. One contains Categories(ID, Name) and the other contains Subcategories(ID,Name,CategoryID).
When I drag a row from gridview 1 it must add a node with that category name to the treeview.
When I drag a row from gridview2(subcategory) it must add a child node to the parent node it has been dropped on.
Please help me get going.
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
|