單項(xiàng)選擇題列聲明并創(chuàng)建Connection對(duì)象的語(yǔ)句,正確的是()。

A.Dim ADOcn As New Connection
B.Dim ADOcn As Connection
C.Declare ADOcn As New Connection
D.Declare ADOcn As Connection


你可能感興趣的試題

1.單項(xiàng)選擇題下列不屬于ADO對(duì)象模型的對(duì)象的是()。

A.Connection
B.Update
C.Command
D.Recordset

2.單項(xiàng)選擇題可以利用Connection對(duì)象的Execute方法實(shí)現(xiàn)對(duì)數(shù)據(jù)庫(kù)的更改操作。下列刪除SC表中學(xué)號(hào)為S01的選課記錄的語(yǔ)句,正確的是()。

A.ADOcn.Execute "UPATE FROM SC WHERE 學(xué)號(hào) = ’A30’ "
B.ADOcn.Execute "SELECT FROM SC WHERE 學(xué)號(hào) = ’A30’ "
C.ADOcn.Execute "DELETE FROM SC WHERE 學(xué)號(hào) = ’A30’ "
D.ADOcn.Execute "DROP FROM SC WHERE 學(xué)號(hào) = ’A30’ "