gycitsupport
asked on
How to Drag and Drop Rows in Datagridview?
Hi
I have a datagridview which is populated from a stored procedure and using the datagridview1.datasource=d s.Tables[0 ] syntax to populate it. I have a list of names, each of which has a "position" identifier connected to it as a hidden column; so Mr A has number 1, Mr B has number 2 etc. I want the user to be able to drag and drop Mr D (for example) up or down anywhere in the list and for the position index to be recalculated and the grid to refresh with the new information. Is this possible or at least, something similar?
Hope this makes sense!
Thanks.
I have a datagridview which is populated from a stored procedure and using the datagridview1.datasource=d
Hope this makes sense!
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER