A.1 B.10 C.100 D.0
A.ds.PrimaryKey.Add("ComputerID"); B.ds.PrimaryKey=newobject[]{"ComputerID"}; C.ds.PrimaryKey="ComputerID"; D.ds.PrimaryKey=newDataColumn[]{ds.Columns["ComputerID"]};
A.將一個(gè)重復(fù)值裝載到DataTable列中 B.DataTable對(duì)象中的列數(shù)與對(duì)象數(shù)組中的元素個(gè)數(shù)不匹配 C.收到InvalidCastException類(lèi)型的異常 D.DataTable對(duì)象中將AllowDBNull屬性設(shè)為T(mén)rue