Datagrid & Panel
Windows Forms
2
Posts
2
Posters
2
Views
1
Watching
-
Hello how can drag a row from a datagrid and drop it into a panel plz help me regards
etretyertyery
I've never had a need to write code like that but you can probably do it this way: Set your panel's AllowDrop property to True Trap the OnDrop event for the panel and inside the handler check the SelectedRows property of the datagrid. You would then use that property to display the data any way you chose. Again, I don't know if that example alone will do it bit it will be very close. You might even do a google search on DragDrop operations.