A.dt.PrimaryKey="CustomerID";
B.dt.PrimaryKey.Add("CustomerID");
C.dt.PrimaryKey=new object[]{"CustomerID"};
D.dt.PrimaryKey=new DataColumn[]{dt.Columns["CustomerID"]};
您可能感興趣的試卷
你可能感興趣的試題
A.0
B.100
C.200
D.300
A.DataTable dt_customers=new DataTable();
B.DataTable dt_customers=new DataTable("Customers");
C.ds.Tables.Add("Customers");
D.ds.Tables.Add(newDataTable("Customers");
A.System.IO
B.System.Utils
C.System.Data
D.System.DataBase
A.可以防止在讀取時破壞數(shù)據(jù)
B.可以防止臟讀
C.可以防止不可重復讀
D.可以防止幻象讀取
A.Select語句
B.存儲過程
C.ADO.NET連接對象的Transaction屬性
D.ADO.NET命令對象的CommandText屬性
最新試題
DataTable和DataView之間有何不同?
則該連接的服務(wù)器的機器名為();數(shù)據(jù)庫名為();SSPI可以寫為()
什么是.NET數(shù)據(jù)提供程序?
什么是連接池?
編程使用非連接環(huán)境操作本地機器上的pubs數(shù)據(jù)庫,將employee表中的所有數(shù)據(jù)顯示在DataGridView控件上。(注意:連接數(shù)據(jù)庫時使用集成WINDOWS NT登陸方式)
使用DataAdapter填充DataSet的最有效方式是什么?
使用oledb.net數(shù)據(jù)提供程序時,連接字符串的()關(guān)鍵字指出要連接的oledb數(shù)據(jù)源的類型。
什么是事務(wù)?它有什么特點?
連接字符串中initialcatalog的含義是()
為了向數(shù)據(jù)源更新數(shù)據(jù),應(yīng)該調(diào)用().