将datagridview rowcount设置为max 1

时间:2016-04-13 12:35:07

标签: visual-studio-2010 datagridview

我想设置一个datagridview只接受一行,而我很难做到这一点。 第一行后的意思是禁止用户添加新行。 所以datagridview总是有一行。但在Visual Basic中 任何帮助将非常感谢。

1 个答案:

答案 0 :(得分:0)

root@levilinode:~# service elasticsearch start
root@levilinode:~# more /var/log/syslog
Apr 14 07:17:01 levilinode CRON[12883]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 14 08:17:01 levilinode CRON[13000]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 14 09:17:01 levilinode CRON[13116]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 14 10:17:01 levilinode CRON[13216]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 14 10:53:47 levilinode systemd[1]: session-109.scope: Cannot determine UID from slice user-0.slice
Apr 14 10:53:47 levilinode systemd[1]: Started Session 109 of user root.
Apr 14 10:56:12 levilinode systemd[1]: Started LSB: Starts elasticsearch.
Apr 14 10:56:14 levilinode systemd[1]: Started LSB: Starts elasticsearch.
Apr 14 10:56:45 levilinode systemd[1]: Started LSB: Starts elasticsearch.