可学答题网 > 问答 > MCTS(70-528)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You create a Web Form. The Web Form al


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.
参考答案
参考解析:
分类:MCTS(70-528)题库
相关推荐

1、You create a Web Form. The Web Form u

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...

2、You create a Web Form that contains a

You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web...

3、You are creating a Web Form. The Web

You are creating a Web Form. The Web Form allows users to rename or delete products in a list. You create a DataTable named dtProducts that...

4、You are creating a Web Form. The Web

You are creating a Web Form. The Web Form allows users to rename or delete products in a list. You create a DataTable named dtProducts that...

5、You are creating a Web Form. You write

You are creating a Web Form. You write the following code segment to create a SqlCommand object.Dim conn As SqlConnection = New SqlConnection(c...

6、You create a Web Form. The Web Form al

You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following...