單項選擇題

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

微信掃碼免費搜題