且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在VB.Net中删除加载时的空白DataGridView行

更新时间:2023-12-05 10:15:04

如果不允许用户添加行,则设置 DataGridView.AllowUserToAddRows [ ^ ]属性为False。我相信这会阻止新行显示在屏幕上。
If the user isn't allowed to add a row, then set the DataGridView.AllowUserToAddRows[^] property to False. I believe this will stop the new row from showing up on the screen.