单项选择题
You create a Web Form. The Web Form allows users to calculate values and display the results in a label named lblResults. You need to capture all unhandled exceptions on the Web Form through the Error event. The Error event must capture each unhandled exception and display it on the Web Form.
Which code segment should you use?()
A.
B.
C.
D.
点击查看答案
相关考题
-
单项选择题
Your Web site uses custom Themes. Your Web site must support additional Themes based on the users company name. The company name is set when a user logs on to the Web site. The companys Theme name is stored in a variable named ThemeName. You need to use this variable to dynamically set the Web sites Theme. What should you do?()
A.
B.
C.
D. -
单项选择题
你正在创建一个使用 Web 部件的 ASP.NET Web 页面。你需要在 Web 部件之间配置一个静态的连接。下面那个代码段正确的配置了 CollectZip 和 ShowZip Web 部件之间的连接?()
A.
B.
C.
D. -
单项选择题
你已经创建了一个 XmlDocument 的一个实例 doc 并且装载了如下的 XML 文档: 现在,你需要改变 city 的值为 watertown。你应该使用下面哪段代码?()
A.
B.
C.
D.
