Aprenda de uma forma simples , objetiva e direta os ... - Macoratti.net
Aprenda de uma forma simples , objetiva e direta os ... - Macoratti.net
Aprenda de uma forma simples , objetiva e direta os ... - Macoratti.net
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Curso <strong>de</strong> Introdução a Plata<strong>forma</strong> .Net FrameWork SDK<br />
Acompanhe a sintaxe do controle <strong>de</strong> validação CompareValidator e um<br />
exemplo abaixo:<br />
<br />
<br />
<br />
<br />
<br />
Digite um valor maior ou igual a 10:<br />
<br />
<br />
<br />
<br />
<br />
<br />
public void MetodoValidar(Object sen<strong>de</strong>r, EventArgs ea) {<br />
Comparar.Validate( );<br />
if (Comparar.IsValid == true) {<br />
saida.Text = "Numero CORRETO ! ";<br />
}<br />
else {<br />
saida.Text="Numero INCORRETO ! ";<br />
}<br />
}<br />
<br />
<br />
100