摘要: 整数或者小数:^[0-9]+\.{0,1}[0-9]{0,2}$只能输入数字:"^[0-9]*$"。只能输入n位的数字:"^\d{n}$"。只能输入至少n位的数字:"^\d{n,}$"。只能输入m~n位的数字:。"^\d{m,n}$"只能输入零和非零开头的数字:"^(0|[1-9][0-9]*)$"。只能输入有两位小数的正实数:"^[0-9]+(.[0-9]{2})?$"。只能输入有1~3位小数的... 阅读全文
posted @ 2006-12-13 19:26 南守拥 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 全并行的DataGridCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1private void grdSearchResults_ItemDataBound(object sender, System.Web.UI.WebControls.Dat... 阅读全文
posted @ 2006-12-13 18:18 南守拥 阅读(737) 评论(1) 推荐(0) 编辑