我整个上午都在谷歌搜索和Binging试图找到这个答案。
我有一个使用字符串构建器绑定到我的SQL数据库的DataGridView。我的表单上有一个更新按钮,用户单击以将其新更改提交到数据库。但是,有时候,我忘了按" Enter"激活告诉datagridview的事件,数据表上有新的更改。 有没有办法不必按Enter键来识别更改?也许在cellvalidating事件中?
答案 0 :(得分:0)
您可以获取输入字符串(在按Enter键之前)。
Error in h2o.init() : H2O failed to start, stopping execution.
In addition: Warning message:
running command 'curl 'http://localhost:54321'' had status 127
Note: In case of errors look at the following log files:
java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
Starting H2O JVM and connecting:
............................................................
[1] "localhost"
[1] 54321
[1] TRUE
[1] -1
[1] "Failed to connect to localhost port 54321: Connection refused"
[1] 127