题目内容

若要执行非Select命令,则应该调用Command对象的()命令。

A. Execute
B. ExecuteNonQuery
C. ExecuteScalar
D. ExecuteReader

查看答案
更多问题

通过对DataAdapter对象的()属性赋值来实现数据的查询。

A. InsertCommand
B. UpdateCommand
C. SelectCommand
DeleteCommand

当创建了Thread类的对象后,调用Start方法后操作系统会将当前线程实例的状态更改为()状态。

A. ThreadState.Running
B. ThreadState.Stopped
C. ThreadState.Suspended
D. ThreadState.Unstarted

调用线程Thread类的Suspend方法后,线程处于()状态。

A. ThreadState.Running
B. ThreadState.Aborted
C. ThreadState.Suspended
D. ThreadState.Stopped

线程使用()关键字来确保代码块的完整运行而不被其他线程中断。

A. this
B. static
C. lock
D. block

答案查题题库