如何在Windows应用程序中删除数据网格视图中的特定行 [英] How to delete particular row in data grid view in windows application
本文介绍了如何在Windows应用程序中删除数据网格视图中的特定行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在这里,我尝试了如何在datagridview中删除行.请让我知道.
Here I tried how to delete row in datagridview. Please let me know.
推荐答案
DataGridView1.Rows.RemoveAt
,其中有行的索引
DataGridView1.Rows.Remove
具有特定的行对象
DataGridView1.Rows.RemoveAt
with index of the row
DataGridView1.Rows.Remove
with specific row object
检查此处 [ ^ ]
如果您尝试过,则要下功夫,否则请有 [ ^ ]和 ^ ]的解决方案有相同的问题.
如果您在Google上进行搜索,则会获得大量链接
if you tried then show your effort otherwise Go there[^] and there[^] having same problem with solutions.
and if you search it on Google you will get plenty of links
这篇关于如何在Windows应用程序中删除数据网格视图中的特定行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文