日期:2014-05-18  浏览次数:20405 次

我想标题不允许输入非法字符,请问如何加上判断? 谢谢!
请教一下,

<td height="25" class="style1"><div align="right">标题:</div></td>
  <td width="75%" height="25" style="font-size: 12px">
  <asp:TextBox ID="txttitle" runat="server" MaxLength="40" Width="376px"></asp:TextBox>

我想这个标题不允许输入非法 字符,请问如何加上判断? 谢谢!

------解决方案--------------------
非法字符判断
------解决方案--------------------
http://blog.csdn.net/shilixiu/article/details/2194633
------解决方案--------------------
非法字符 指的的 符号之类能影响程序正常运行的那些东西么?
如果是的话 用正则