找考题网-背景图
单项选择题

A.ExecuteNonQuery()B.ExecutQuery()C.ExecuteReader()D.Ex……

当执行Sql语句“select count(id)from tb_student”时,需要使用SqlCommand对象的()方法执行?

A.ExecuteNonQuery()
B.ExecutQuery()
C.ExecuteReader()
D.ExecuteScalar()