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

微软认证考试

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

Exhibit You create a Web Form for the acceptance of donations. Users type donation amounts by using a TextBox control named txtAmount. The donation amount must be between 10 dollars and 10,000 dollars. You add the following RequiredFieldValidator and RangeValidator. During testing you learn that when users fail to enter values before submitting the Web Form to the server, the message "Please enter a value" appears, as shown in the exhibit. You need to ensure that the message appears immediately following the txtAmount TextBox control without extra spaces. What should you do? ()

  • A、In the RangeValidator, set the Display property to Dynamic.
  • B、In the RangeValidator, set the Display property to Static.
  • C、In the RequiredFieldValidator, set the Display property to Dynamic.
  • D、In the RequiredFieldValidator, set the Display property to Static.
正确答案:A
答案解析:
进入题库查看解析

微信扫一扫手机做题