Question:You need to validate a vendor ID entered by a user. The valid vendor IDs exist in a database table. How can you validate this input?
A Provide a RegularExpressionValidator control and set the ValidationExpression property to /DbLookup{code}.
B Provide a RangeValidator control, and set the MinValue property to DbLookup(code) and the MaxVaue property to DbLookup(code).
C Provide a CustomValidator control with server-side code to search the database for the code.
D Provide a CompareValidator control and set the compare expression to the name of a server-side function that performs a database lookup of the code.
+ AnswerC
+ Report