Validation ASP.Net Tutorial

<%@ Page Language="VB" %>

    Protected Sub Button1_Click(sender As Object, e As EventArgs)
       Label1.Text = "Passwords match"
    End Sub



    CompareFieldValidator


    
        Age:
        
        
                                      Runat="server"
                              ErrorMessage="You must enter a number"
                              ControlToValidate="TextBox1" 
                              Type="Integer"
                              Operator="DataTypeCheck"/>
        
                         Runat="server" Text="Login">