validation control in asp.net with vb.net

Posted by Sekar.C under ASP.NET on 2/29/2012 | Points: 10 | Views : 720 | Status : [Member] | Replies : 1
sir,
how to set alphabetic characters only in textbox using asp.net with vb.net
regard
sekar.c

Regards
Sekar.c



Responses

Posted by: Gow.Net on: 2/29/2012 [Member] Starter | Points: 25

Up
0
Down
try this
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 

ControlToValidate="TextBox1" ErrorMessage="letters only"
ValidationExpression="^[A-Za-z]*"></asp:RegularExpressionValidator>


gowthaman8870226416

Sekar.C, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response