在ADO.NET 2.0應用程序中,有一個強類型DataSet對象ds,該對象中有一個DataTable對象Producters,Producters中包含一個ProducterID的整型列.假設要通過ds提供的類型安全編碼規(guī)范,來訪問ProducterID值,應該使用哪段代碼給ProducterID字符變量賦值?()
A.A B.B C.C D.D
有一個DataSet對象:custometDataSet.它包含有一個DataTable對象:MyCustomers.MyCustomers從SQL Server數據庫取得信息,它有一個名叫Region的列.你想創(chuàng)建一個DataView對象:customerDataView,其中只包括那些Region屬性為France的customer元祖.你會使用以下那段代碼?()
A.確保StudentID是表Students的一個主鍵 B.確保Students按StudentID升序排列 C.確保在表Students中每個StudentID都是獨一無二的 D.確保StudentID是Students的第一列