executenonquery meaning in English
执行不返回结果集的查询
Examples
- Executes a command that does not return any rows
使用executenonquery可执行不返回行的命令。 - These commands do not return rows as a query would , so the command object provides an
这些命令不会像查询一样返回行,因此command对象提供了executenonquery来处理这些命令。 - Method that initiated the server operation is halted and an exception is thrown
但是,真正的错误发生时,启动服务器操作的executenonquery或executereader方法将暂停执行,并引发异常。 - Exception details : system . invalidoperationexception : executenonquery requires an open and available connection . the connection ' s current state is closed
这个怎么回事啊?怎么说我的连接是关闭的啊? - Method , input and output parameters and return values can be passed and returned via the parameters collection of the
虽然行不是由executenonquery方法返回的,但可以通过command对象的parameters集合来传递和返回输入和输出参数以及返回值。