Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

drag and drop a record(row) in datagrid?

Hello , Best wish in the new year.

I use datagrid to show the specific data to user. then I built two buttons ,one is "MOVE UP" , another is "MOVE DOWN" . so user can change the sort of rows in datagrid.
But now, the user wants to use the drag-and-drop way with mouse to change the sort of rows in datagrid, I have no ideas how to implement it.

Welcome Any help.

WHYGH
[401 byte] By [whygh] at [2007-11-11 7:39:26]
# 1 Re: drag and drop a record(row) in datagrid?
Use the Drag method:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vb98/html/vbmthDrag.asp

see link on top of page for examples

Marco
mstraf at 2007-11-11 17:26:42 >