單項(xiàng)選擇題

你創(chuàng)建了一個XMLweb服務(wù),用來查找課程是否排滿,你該使用下列哪個方法來查詢數(shù)據(jù)庫?()(選擇最佳答案)

A.SqlCommand.ExecuteNonQuery
B.DataReader.Read
C.SqlCommand.ExecuteScalar
D.SqlCommand.ExecuteReader

微信掃碼免費(fèi)搜題