By applying the RequiredAttribute attribute to the data field, you can override the database schema rule that allows a data field to be empty.
When you apply this attribute to a data field you must follow the guidelines for the use of the validation attributes. For more information, see ASP.NET Dynamic Data Guidelines.