Create a valid
Set the passwordFormat attribute of the configured membership provider to Encrypted.
Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.
Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.
第1题:
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? ()
第2题:
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.
第3题:
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? ()
第4题:
protected void Page_Error(object sender, EventArgs e) { lblResults.Text = e.ToString(); e=null;}
protected void Page_Error(object sender, EventArgs e) { lblResults.Text = Server.GetLastError().ToString(); Server.ClearError();}
protected void Page_Error(object sender, EventArgs e) Response.Write(e.ToString()); e=null;}
protected void Page_Error(object sender, EventArgs e) Response.Write(Server.GetLastError().ToString()); Server.ClearError();}
第5题:
Add a SiteMapDataSource control to the Web Form and bind the TreeView control to it.
Add a SiteMapPath control to the Web Form and bind the TreeView control to it.
Embed the site map XML within the SiteMap node of a Web.sitemap file.
Embed the site map XML within the AppSettings node of a Web.config file.
Set the StartingNodeUrl property of the SiteMapDataSource control to ~/Marketing.aspx.
Set the SkipLinkText property of the SiteMapPath control to Sales.
第6题:
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?()
第7题:
Data View Row State.Modified Original
Data View Row State.Modified Current
Data View Row State.Current Rows
Data View Row State.Added
第8题:
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.
第9题:
Wizard1.RequireEmail = True
Wizard1.Email = user@address.com
Wizard1.MailDefinition.From = registration@mysite.com
SmtpMail.SmtpServer = mail.contoso.com
第10题:
Set the Enabled property of the validation controls on the Web Form to False.
Set the CausesValidation property of the btnCancel button to False.
Set the CausesValidation property of the btnCancel button to True.
Set the Visible property of the validation controls on the Web Form to False.