單項選擇題
已知Customers為DataSet對象中的一個DataTable對象. 其中Customers包含"CustomerID", "CompanyName", "Address", "City" 4列, 現(xiàn)在要從Customers中查找標記為刪除的, 地址來自London, 并將這些查詢結(jié)果以Address列遞增排序放入到數(shù)組中. 下列代碼能完成目標的是()
A.A
B.B
C.C
D.D
您可能感興趣的試卷
你可能感興趣的試題
2.單項選擇題一個Windows窗體應(yīng)用程序以編程方式為數(shù)據(jù)集創(chuàng)建架構(gòu).該數(shù)據(jù)集包含名為Departments的數(shù)據(jù)表.Departments表包含名為DepartmentID和DepartmentName的列.需要確保在添加新行時,Departments表將唯一的整數(shù)值分配給DepartmentID列,應(yīng)該().
A.將DepartmentID列的AutoIncrement屬性值設(shè)置為True
B.為DepartmentID列添加唯一約束
C.將DepartmentID列指定為主鍵
D.將DepartmentID列的Expression屬性值設(shè)置為DepartmentID+1