摘要: string strTempDistrictID = txtDistrictID.Text; //必须是[数字][数字][0000]格式 Regex re = new Regex("^[0-9]{2}[0]{4}$"); Match match = re.Match(strTempDistrictID); if (match.Success == false) { Messag... 阅读全文
posted @ 2012-12-18 11:07 杨斌_济南 阅读(291) 评论(0) 推荐(0) 编辑