欢迎来到易学考试网 易学考试官网
全部科目 > 微软认证考试 > MCTS > MCTS(70-528)

多项选择题

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.

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题