單項(xiàng)選擇題關(guān)于SqlCommand命令對(duì)象編寫正確的是()

A.SqlCommand cmm =new SqlCommand(sql語(yǔ)句,Connection對(duì)象);
B.SqlCommand cmm =new SqlCommand(Connection對(duì)象,sql語(yǔ)句);
C.SqlCommand cmm =new SqlCommand(sql語(yǔ)句);
D.SqlCommand cmm =new SqlCommand(Connection對(duì)象);


您可能感興趣的試卷

你可能感興趣的試題

1.多項(xiàng)選擇題關(guān)于DataGridView控件的屬性描述正確的有()

A.Rows獲取總條數(shù)
B.DataSource 獲取數(shù)據(jù)源
C.Name 獲取控件的名稱
D.Columns 獲取總列的名稱

2.單項(xiàng)選擇題FormatException是()

A.算術(shù)異常
B.參數(shù)格式錯(cuò)誤異常
C.非法參數(shù)異常
D.數(shù)組下標(biāo)越界異常