You create a Web Form that conta

题目

You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()

  • A、Include a data source identified as "WebPartConnection1" on the Web Form.
  • B、Include a Web Part identified as "customerPart" on the Web Form.
  • C、Include a Web Part identified as "ordersPart" on the Web Form.
  • D、Ensure that you declare an interface named "IOrdersPart".
  • E、Ensure that you declare an interface named "ICustomerPart".
  • F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web site. The following XML defines the site map for your site. You need to bind the TreeView control to the site map data so that users can navigate only within the Marketing section. Which three actions should you perform?()

  • A、Add a SiteMapDataSource control to the Web Form and bind the TreeView control to it.
  • B、Add a SiteMapPath control to the Web Form and bind the TreeView control to it.
  • C、Embed the site map XML within the SiteMap node of a Web.sitemap file.
  • D、Embed the site map XML within the AppSettings node of a Web.config file.
  • E、Set the StartingNodeUrl property of the SiteMapDataSource control to ~/Marketing.aspx.
  • F、Set the SkipLinkText property of the SiteMapPath control to Sales.

正确答案:A,C,E

第2题:

You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? ()

  • A、Add custom controls that emit XHTML to the Web Form.
  • B、Add custom controls that emit WML to the Web Form.
  • C、Add mobile controls to the Web Form.
  • D、Add Web server controls to the Web Form.

正确答案:C,D

第3题:

You are creating a mobile Web Form that dynamically displays news items. You want to display news items by using an instance of a mobile TextView control named TextViewNews. You need to configure the Web Form that contains TextViewNews. The Web Form must enable pagination in casea users device does not display the full text of a news item.Which code segment should you use? ()

A.

B.

C.

D.


参考答案:D

第4题:

You are implementing an ASP.NET Web application. Users will authenticate to the application with an ID. The application will allow new users to register for an account. The application will generate an ID for the user based on the users full name. You need to implement this registration functionality. Which two actions should you perform?()

  • A、Configure the SqlMembershipProvider in the web.config file.
  • B、Configure the SqlProfileProvider in the web.config file.
  • C、Create an ASP.NET page that contains a default CreateUserWizard control to create a new user account.
  • D、Create an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.

正确答案:A,D

第5题:

You create a master page named Template.master. Template.master contains the following ContentPlaceHolder server controls.You also create 10 Web Forms. The Web Forms reference Template.master as their master page. Each Web Form has the following Content controls that correspond to the ContentPlaceHolder controls in Template.master.You need to configure the Web pages so that default content will be shown in the area2 ContentPlaceHolder control whenever a Web Form does not provide that content. What should you do? ()

  • A、Move default content inside area2 in Template.master. Remove area2 from Web Forms that do not provide content.
  • B、Move default content inside area2 in Template.master. Leave area2 blank in Web Forms that do not provide content.
  • C、Move default content inside area2 in the Web Forms. Remove area2 from Template.master.
  • D、Create an additional ContentPlaceHolder control in Template.master named area2_default. Place default content inside area2_default. Remove area2 from Web Forms that do not provide content.

正确答案:A

第6题:

You create a Web site that you must copy from a development server to a testing server, along with all source files. You do not have terminal access to the testing server. You need to create the virtual directory. Then you must copy the Web site to the virtual directory on the testing server without precompiling the site. What should you do? ()

  • A、Use the Publish Web tool.
  • B、Use the Copy Web tool.
  • C、Use the command line to XCOPY the files.
  • D、Create a Web Setup project.

正确答案:B

第7题:

You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform?()

  • A、Create a valid definition in the Web.config file.
  • B、Set the passwordFormat attribute of the configured membership provider to Encrypted.
  • C、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.
  • D、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.

正确答案:A,C

第8题:

You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()

A. Include a data source identified as "WebPartConnection1" on the Web Form.

B. Include a Web Part identified as "customerPart" on the Web Form.

C. Include a Web Part identified as "ordersPart" on the Web Form.

D. Ensure that you declare an interface named "IOrdersPart".

E. Ensure that you declare an interface named "ICustomerPart".

F. Ensure that each Web Part declares either a GetInterface or ProvideInterface method.


参考答案:B, C

第9题:

You create a Web Form. The Web Form allows users to log on to a Web site. You implement the login logic using a Login control named Login1. The membership data for the application is stored in a SQL Express database in the App_Data directory. You need to configure your application so that the membership data is stored in a local Microsoft SQL Server database. You add the following code segment to the Web.config file. Which two additional actions should you perform?()

  • A、Use Aspnet_regsql.exe to create the Microsoft SQL Server database.
  • B、Set Login1's MembershipProvider property to MySqlProviderConnection.
  • C、Add the following code segment to the Web.config file.<connectionStrings> <add name="MySqlProviderConnection" connectionString="valid connection string" /></connectionStrings>
  • D、Add the following code segment to the Web.config file.  <appSettings><add key="MySqlProviderConnection" value="valid connection string" /></appSettings>
  • E、In the ASP.NET configuration settings within IIS, ensure that Role Management Enabled is selected.
  • F、Use the Web Site Administration Tool to select AspNetSqlMembershipProvider as the membership provider for your application.

正确答案:B,D

第10题:

单选题
You create a multiple form application- Which built-in must you use to invoke the form modules to enable you to programmatically control navigation between the multiple forms in your application?()
A

NEW_FORM 

B

OPEN_FORM 

C

CALL_FORM 

D

CLOSE_FORM


正确答案: D
解析: 暂无解析

更多相关问题