单项选择题
现在有一个DataSet对象ds1,ds1中有一个DataTable对象dt_Customer,已知dt_Customer中有1000条记录,则执行下列语句后:DataTable new_dt_Customer=dt_Customer.Copy();新的数据表new_dt_Customer中包含()条记录.
A.2000
B.3000
C.1000
D.0
点击查看答案
相关考题
-
单项选择题
在某个Windows窗体应用程序中,使用下列哪个事件,可以让DataTable对象中的每一行在编辑成功时保存数据?()
A.RowUpdated
B.DataSourceChanged
C.Changed
D.RowChanged -
单项选择题
DataSet可以看成是Tables和Relations的集合,Table和Relations在DataSet中的最小数量是().
A.1
B.10
C.100
D.0 -
单项选择题
ds为DataTable类型的变量,引用名为"Computer"的DataTable对象.该表中包含"ComputerID","ComputerName","E-Mail"等三列.将数据列"ComputerID"设为该表主键的语句是().
A.ds.PrimaryKey.Add("ComputerID");
B.ds.PrimaryKey=newobject[]{"ComputerID"};
C.ds.PrimaryKey="ComputerID";
D.ds.PrimaryKey=newDataColumn[]{ds.Columns["ComputerID"]};
