更新时间: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.