Vinit Patel

Regular Expression for not allowing White Space & Special Characters

Posted on: September 29, 2009


<asp:RegularExpressionValidator ControlToValidate=”txtfname” ValidationExpression=“^[a-zA-Z0-9]+$”
ID=”RegularExpressionValidator1″ runat=”server” ErrorMessage=”Special Characters Not Allowed”>
</asp:RegularExpressionValidator>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Calendar

September 2009
M T W T F S S
« Jul   Oct »
 123456
78910111213
14151617181920
21222324252627
282930  

Stats Of Blog

  • 7,092 hits

Cluster Map

%d bloggers like this: