400+ câu trắc nghiệm Kịch bản ASP/Javascript/ PHP có đáp án - Phần 15

Cho đoạn lệnh sau, xác định đoạn lệnh này dùng để làm gì?< asp:RangeValidator ID="rvclass" runat="server" ControlToValidate="txtclass" ErrorMessage="Enter your class (6 - 12)" MaximumValue="

15/25

Cho đoạn lệnh sau, xác định đoạn lệnh này dùng để làm gì?

< asp:RangeValidator ID="rvclass" runat="server" ControlToValidate="txtclass" ErrorMessage="Enter your class (6 - 12)" MaximumValue="12"

MinimumValue="6" Type="Integer">

< /asp:RangeValidator ></>

</>

Đảm bảo đầu vào dữ liệu bằng 12 hoặc 6

Đảm bảo đầu vào dữ liệu nhỏ hơn 6

Đảm bảo đầu vào dữ liệu lớn hơn 12

Đảm bảo đầu vào dữ liệu từ 6 tới 12

Giải thích

Chọn đáp án D