单项选择题你创建了一个名为 ContosoControls 的 Web 服务器控件。并且在 ContosoControls 控件中增加了一个名为 ContosoMailer 的 Web 自定义控件。现在,你需要分发这个 Web 服务器控件给你的团队成员。为此,你需要提供一个正确的过程,让你的团队成员增加这个 Web 服务器控件库到他们的 Microsoft Visual Studio .NET 工具栏中。下面那一个过程是你应该提供给团队成员的?()

A.在工具栏内,单击选择项;然后浏览并选择ContosoControls控件
B.在工具栏内,单击选择项;然后浏览并选择ContosoMailer控件
C.右击Web项目,然后单击添加引用,然后浏览并选择ContosoControls.dll文件
D.在工具栏内,单击选择项;然后浏览并选择ContosoControls.dll文件


您可能感兴趣的试卷

你可能感兴趣的试题

6.多项选择题你在创建一个mobile Web 应用。你需要用一个Command 控件去提交用户从UI输入的内容到服务器端。下面哪两个方法可以达到此目的?()

A. 在System.Web.UI.MobileControls.SelectionList 控件的实例中增加Command控件。.
B. 在System.Web.UI.MobileControls.ObjectList 控件的实例中增加Command控件。
C. 在System.Web.UI.MobileControls.Form 控件的实例中增加Command控件。
D. 在System.Web.UI.MobileControls.Panel 控件的实例中增加Command控件。

7.多项选择题你正在创建一个显示公司 logo 的 mobile Web 窗体。这个 Web 窗体包含如下的 image 控件:要求,在不支持色彩的设备上,能够以黑白方式显示logo;在支持色彩的设备上能够以富有色彩的方式进行显示。请问,下面那两个方法可以达到此目的?()

A. 在code-behind 文件增加一个方法isColor 。确保这个方法返回一个Boolean 值、MobileCapabilities类的实例和一个字符串。
B. 在code-behind 文件增加一个方法isColor 。确保它使用了MobileCapabilities 类并返回一个要显示的图像的URL字符串。
C. 在image控件的定义标记之间增加如下的代码段:<DeviceSpecific> <Choice Filter="isColor" ImageURL="logo-color.gif" /></DeviceSpecific>
D. 在Web.config文件中为deviceFilters元素增加如下的节点<filter name="isColor" compare="IsColor" argument="true" />


8.单项选择题你创建了一个名为Template.master的母版页。Template.master包含了如下的ContentPlaceHolder 服务器控件。你创建了10个Web窗体,它们都使用Template.master作为母版页。每个Web窗体有如下的Content控件和母版页的ContentPlaceHolder控件进行对应。现在,你需要配置Web页,使其当Web窗体没有提供content的时候,默认的内容将显示在area2ContentPlaceHolder控件中。你应该怎么做?()

A. 在Template.master 中,移动默认内容到area2中。从不提供内容的Web窗体中移除area2。
B. 在Template.master 中,移动默认内容到area2中。在不提供内容的Web窗体中留下空白的 area2 Content声明。
C. 在Web窗体中,移动默认内容到area2中。在Template.master 中移除area2。
D. 在Template.master中创建一个名为area2_default 的ContentPlaceHolder 控件。然后,放 默认内容在area2_default中。从不提供内容的Web窗体中移除area2。

最新试题

You are using the ASP.NET membership APIs to manage user accounts for a Web site. The Web.config file contains the definition for the membership provider. After modifying the Web.config file to enable password recovery, you create a PasswordReset.aspx file.? You need to enable users to reset their passwords online. The new passwords must be sent to them by e-mail after they have logged on through the Login.aspx page. In addition, users must be required to answer their secret questions before resetting their passwords.Which code logic should you use?()

题型:单项选择题

You create a Web site for a customer. You need to deploy the Web site to the customers server without any of the source files for the Web site. You do not want the customer to be able to update any of the static pages on the Web site.Which tool should you use?()

题型:单项选择题

You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error.Which event should you use? ()

题型:单项选择题

You are developing a page named Process.aspx in a shopping cart Web application that will be integrated into Certkiller .com's existing e-Commerce Web site. The Process.aspx page allows customers to pay for purchases using their credit cards. The Process.aspx page contains a Button control that confirms the customer's payment and calls an external Web service that charges the customer's credit card. You must implement confirmation and prevent postback unless the customer confirms payment.What should you do?()

题型:单项选择题

You are developing a product search page named Search.aspx for Web application that will be integrated into Certkiller .com's existing e-Commerce Web site. The Search.aspx page allows customers search for products that match specific criteria. Once a product is located, you want an image of the product to be displayed. You want to use an Image control to display the image. You want to configure the Image control to display a description of the image if the image cannot be displayed in the customer's Web browser.What should you do?()

题型:单项选择题

You create a Web Form. The Web Form uses the FormView control to enable a user to edit a record in the database. When the user clicks the Update button on the FormView control, the application must validate that the user has entered data in all of the fields. You need to ensure that the Web Form does not update if the user has not entered data in all of the fields.Which code segment should you use?()

题型:单项选择题

You are creating a composite control for capturing user address information in a Web application. You define a number of properties that the user can set at design time. You need to group these properties in the Properties dialog box. In addition, you need to ensure that when users click on a particular property, they receive a short explanation of that property. The properties are shown in the exhibit.Which two actions should you perform?()

题型:多项选择题

You create a Web site. The Web site has many predefined roles and associated users that will be used for security purposes. You need to manage these roles and user accounts.Which tool should you use? ()

题型:单项选择题

You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls.Which two actions should you perform?()

题型:多项选择题

You create an intranet Web site for management of project documents. You need to enable all users to browse documents on the site. Only members of the administrators group must be ble to upload files.Which code segment of the Web.config file should you use?()

题型:单项选择题