DataGridView Drag Cell value选项 [英] DataGridView Drag Cell value option

查看:57
本文介绍了DataGridView Drag Cell value选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个带有Sr.no列的DataGridView。如果我在此列的每一行输入1,2,3,4。

现在如果我分别选择值为3和4的最后两行并将其向下拖动,就像Excel下一个单元格值一样应该填写为5,6 7 ....



我用Google搜索并获取拖放代码但没有得到我期待的结果。

Hi,

I have a DataGridView with column Sr.no. if I am entering 1,2,3,4 in each row of this column.
now if I am selecting last two rows with value 3 and 4 respectively and drag it down like a Excel next cell values should fill as 5,6 7....

I Googled and getting Drag and Drop code but not getting what I am expecting.

推荐答案

如何拖动信息来自DataGridView控件 [ ^ ]

随身携带!!
How to drag information from a DataGridView control[^]
Go with it !!


这篇关于DataGridView Drag Cell value选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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