Hello,

Just my two cents worth, but given that you are using 2005, depending on what sort of validation you are doing, it may be worthwhile looking into the Validation Controls that are available from the ToolBox, i.e.

RequiredFieldValidator
RangeValidator
RegularExpressionValidator
CompareValidator
CustomValidator
ValidationSummary

These can simpl be dragged and dropped on the form, and then "connected" to a control to perform the validation for you.

Hope this helps!

Gary