DataGridView删除多余的行 [英] DataGridView Remove the Extra Row

查看:75
本文介绍了DataGridView删除多余的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目中使用Datagridview(Visual C#).在DataGridView中,行不应自动增加(需要固定行)以及如何删除多余的行@runtime.我可以删除除该行之外的其他内容

i am using Datagridview in my project(Visual C#).In DataGridView Row Should not increase automatically(need Fixed Row) and How to delete the extra Row @runtime.I can able to delete except that row

推荐答案

我认为您是在谈论要在datagrid中添加新行的行.

删除它的方法是单击数据网格,然后在右上角附近查找小箭头.单击箭头,将出现一个小的弹出框.取消选中启用添加.

应该这样做,

祝你好运!
I think you are talking about the row to add in new rows inside the datagrid.

The way to delete this is to click on the datagrid and look for the little arrow near the top right corner. Click on the arrow and a little popup box will appear. Uncheck Enable Adding.

That should do it,

Good luck!


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

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