如何拖动datagridview单元格 [英] How to drag the datagridview cell

查看:123
本文介绍了如何拖动datagridview单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将单元格拖动到datagridview中的其他位置,哪个是单元格中的图像,如在Excel中插入图片,任何帮助?谢谢你

how can i drag the cell to other position in datagridview,and which is a image in the cell like insert pictures in Excel,any help? thank you

推荐答案

是的,你可以..参见 http://stackoverflow.com/questions/11507321/in-c-is-there-a-way-to- drag-a-datagridview-cells-content-to-another-cell [ ^ ]和ya http://social.msdn.microsoft.com/Forums/zh/winformsdatacontrols/thread/1771de9e-822f-438a-bcf8 -4128f57ed35b [ ^ ]
Yes, you can.. See http://stackoverflow.com/questions/11507321/in-c-is-there-a-way-to-drag-a-datagridview-cells-content-to-another-cell[^] and ya http://social.msdn.microsoft.com/Forums/zh/winformsdatacontrols/thread/1771de9e-822f-438a-bcf8-4128f57ed35b[^]


感谢您的回复,可能是我的描述不清楚,这意味着添加一个PictureBox进入DataGridView单元格就像在Excel中插入图片一样,它会将图片框拖到任意位置
thanks for your reply,may be my description was not clear,it means that add a PictureBox into DataGridView cell like insert a picture in Excel,and it will be drag the picturebox to any position


这篇关于如何拖动datagridview单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆