单项选择题
You are creating a Windows Forms application for inventory management by using the .NET Framework 3.5.The application provides a form that allows users to maintain stock balances. The form has the following features:
(1)A dataset named dsStockBalance to store the stock information
(2)A business component named scInventory.
The scInventory component provides a method named Save. You need to ensure that only the modified stock balances of dsStockBalance are passed to the scInventory Save method.
Which code segment should you use?()
A.A
B.B
C.C
D.D
点击查看答案
相关考题
-
单项选择题
You are creating a Windows Forms application by using the .NET Framework 3.5.You need to populate a list box control along with category names by using a DataReader control. Which code segment should you use?()
A.A
B.B
C.C
D.D -
单项选择题
You are creating a Windows Forms application by using the .NET Framework 3.5.You write a code segment to connect to a MicrosoftAccess database and populate a DataSet.You need to ensure that the application meets the following requirements: (1)It displays all database exceptions. (2)It logs all other exceptions by using the LogExceptionToFile Which code segment should you use?()
A.A
B.B
C.C
D.D -
单项选择题
You are creating a Windows Forms application by using the .NET Framework 3.5.You write the following code segment to bind a list of categories to a dropdown list.(Line numbers are included for reference only.) You need to ensure that the dropdown list meets the following requirements: (1)Displays all category names (2)Uses the category ID as the selected item value Which code segment should you add at line 06?()
A.A
B.B
C.C
D.D
