多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment.You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their accounts. You add a valid element to the Web.config file. Which code segment should you add to the Page_Load event?()

  • A、 Wizard1.RequireEmail = True
  • B、 Wizard1.Email = "user@address.com"
  • C、 Wizard1.MailDefinition.From = "registration@mysite.com"
  • D、 SmtpMail.SmtpServer = "mail.contoso.com"
正确答案:C
答案解析:
进入题库查看解析

微信扫一扫手机做题