I have a GridView with some TemplateField items containing TextBox controls. I would like to add a required field validator on it. This is
In the Edit template, add a RequiredFieldValidator like this:
Here is the reference for the RequiredFieldValidator on MSDN.
UPDATE:
If you wanted a regular expression validator, its pretty much the same, but with the RegularExpressionValidator control:
Here is a complete list of the functionality for the RegularExpressionValidator on MSDN.