[英]How can I make a DataGridView not to produce a new row whenever any of the cell in the preceeding row is filled up?
I just want to make the DataGridView to have a new row after filling up the last cell. 我只想让DataGridView在填满最后一个单元格后有一个新行。 Do any of the DataGridview properties have this settings?
是否有任何DataGridview属性具有此设置?
将AllowUserToAddRows
属性设置为false
dataGridView1.AllowUserToAddRows = false;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.