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? ()
- A、Create a valid
definition in the Web.config file. - B、Set the passwordFormat attribute of the configured membership provider to Encrypted.
- C、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.
- D、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.
正确答案:A,C
答案解析:有
微信扫一扫手机做题