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.