Follow
this[
^] link to learn how to use the CustomValidator control. In your server validation code, write code to access your database and compare the word typed in the textbox to the entries in your database. I doubt you can do this with client side validation.