單項選擇題當執(zhí)行Sql語句“delete from tb_student”時,需要使用SqlCommand對象的()方法執(zhí)行?
A.ExecuteNonQuery()
B.ExecuteScalar()
C.ExecuteReader()
D.ExecuteXmlReader()
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題當窗體首次顯示出來之前,會觸發(fā)()事件。
A.Load
B.Show
C.ShowDialog
D.Click
2.單項選擇題單選按鈕指的是()控件。
A.Button
B.RadioButton
C.CheckBox
D.ComboBox

最新試題
在Windows應(yīng)用程序中,MDI窗體的特點描述錯誤的是()
題型:單項選擇題
在ADO.NET中,DataReader對象用于從數(shù)據(jù)庫中檢索只讀的數(shù)據(jù),使用()語句可以創(chuàng)建一個DataReader對象。
題型:單項選擇題
在程序中創(chuàng)建一個DataSet對象ds和一個SqlDataAdapter對象dap,若要將數(shù)據(jù)庫中的Singer表的數(shù)據(jù)填充至ds對象的SingerList表中,則下列語句正確的是()
題型:單項選擇題
在C#語言開發(fā)的WinForms程序中,當消息框的返回值時,可以使用()類型的變量直接接收。
題型:單項選擇題
在C#WinForm中,用于創(chuàng)建工具欄的控件是()
題型:單項選擇題