Hi,
When the drag operation begins, retrieve the underlying DataRow (there was a
recent thread in the windowsforms.controls newsgroup where I have given an
example on how to do that). Then extract the data from the data row and add
a data object being dragged (you can probably determine the column index for
the cell being dragged and add the plain cell text as the data object).
The destinatation object, if it can accept the data being dragged, will
respond accordingly to the drop operation.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"NewSun" <li*****@163.net> wrote in message
news:u4**************@tk2msftngp13.phx.gbl...
How can i drag a datarow from a datagrid to a other control?
e.g.
Drag a datarow from a datagrid to a TextBox,Then display one colnumn'
value of the datarow .
Or Drag a cell's value to a controll and display/handle the value in the
other controll.
Thanks in advance.