You create a Web Form. The Web Form contains two Web Parts named CustomerPart and OrdersPart. CustomerPart contains a drop-down list of customers. OrdersPart contains a list of orders that a customer has placed. You need to create a static connection between CustomerPart and OrdersPart. When a user selects a customer from CustomerPart, OrdersPart must update. Which four actions should you perform? ()
- A、Add the ConnectionProvider attribute to OrdersPart.
- B、Add the ConnectionProvider attribute to CustomerPart.
- C、Add the ConnectionConsumer attribute to CustomerPart.
- D、Add the ConnectionConsumer attribute to OrdersPart.
- E、Add OrdersPart and CustomerPart to the WebParts directory.
- F、Add OrdersPart and CustomerPart to the App_Code directory.
- G、Declare the connections within a StaticConnections subtag of a WebPartZone class.
- H、Declare the connections within a StaticConnections subtag of a WebPartManager class.
- I、Define an interface specifying the methods and properties that are shared between the Web Parts.
正确答案:B,D,H,I
答案解析:有
微信扫一扫手机做题