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
- A、Wizard1.RequireEmail = tr ue;
- B、Wizard1.Email = “user@address.com”;
- C、Wizard1.MailDefinition.From = “registration@mysite.com”;
- D、SmtpMail.SmtpServer = “ mail.contoso.com”;
正确答案:C
答案解析:有
微信扫一扫手机做题