Drag and Drop from a TreeView to a DataGridView
An application I was working on recently needed the ability for the user to drag a TreeView node onto a DataGridView, and when ‘dropped’ create a new row in the DataGridView. It is not difficult, but took me a while to put all the relevant pieces together, so I thought…