多项选择题
A.A
B.B
C.C
D.D
单项选择题 已知ds为数据集对象。以下语句的作用是()。ds.Tables["Product"].Constraints.Add(new UniqueConstraint("UC_ProductName",new string[]{"Name","Class"},true));
单项选择题 dt为DataTable类型的变量,引用名为"Customers"的DataTable对象。该表中包含"CustomerID"、"CustomerName"、"Address"、"Telephone"等4列。将数据列"CustomerID"设为该表的主键的正确语句有:()
单项选择题 已知ds1、ds2分别代表两个不同的DataSet对象。其中ds1已包含名为“Customer”的DataTable对象,且该DataTable对象被变量dt_Customer引用。已知dt_Customer表中有100条记录,则执行下列语句后,新的数据表new_dt_Customer中包含()条记录。DataTable new_dt_Customer=dt_Customer.Copy();