Click here to Skip to main content
15,944,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can we implement drag and drop mechanism in case of datagrid view?
how?
actually i have two datagrids 1st,2nd
now i want drag one row from 1st and drop into 2nd
..........
how?

thanxz in advance
Posted

1 solution

sharmarun wrote:
can we implement drag and drop mechanism in case of datagrid view?


Yup :)


sharmarun wrote:
now i want drag one row from 1st and drop into 2nd
..........
how?


Start the dragdop operation from the MouseDown event from the first gridview, and implement the DragDrop event in the second gridview. This[^] post might be more helpfull in dragging between DataGridViews.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900