Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DataGridView在输入所有信息后,我有一个。它总是生成一条自动线,毫无价值。
DataGridView
我怎样才能在那里删除那条线?谁能帮我?
将DataGridView的AllowUserToAddRows属性设置为False即可。 MSDN 链接