Validation ASP.Net Tutorial

<%@ Page Language="C#" %>



   Sample Validation Tester


   
      

         User
         
                     runat="server" 
            ControlToValidate="txtUserName"
            EnableClientScript="false" 
            Display="Static"
            Text="Please enter a User Name" />