ASP.NET validation controls
RequiredFieldValidator
CompareValidator
RangeValidator
RegularExpressionValidator
CustomValidator
E.g.
<asp:TextBoxid=“pwd” runat=“server”/><asp:RequiredFieldValidatorControlToValidate=“pwd”ErrorMessage=“Password required.”EnableClientScript=“true”id=“pwdRequired”runat=“server”/>