调用存储过程功能不起作用

时间:2016-10-13 07:36:17

标签: vb.net stored-procedures parameters

我有这个存储过程来保存一些值。 存储过程的参数是: @StepId(Int) @DateCalculationRule(Char) @Result(Int)

我的VB代码:

ArrayList<String> tabs= new ArrayList<String> (driver.getWindowHandles());
driver.switchTo().window(tabs.get(index));

如果我使用@StepId 1648直接在数据库中运行该过程,并且@DateCalculationRule中的某些文本可以完美地运行。我的功能也是如此。 我没有收到任何错误

1 个答案:

答案 0 :(得分:0)

我在 conn.open()

之后错过了 cmd.ExecuteNonQuery()