摘要: 方法一: protected void btnTest_Click(object sender, EventArgs e) { string str = txtReg.Text.Trim(); if (Regex.IsMatch(str, "^[0-9]*[1-9][0-9]*$")) {... 阅读全文
posted @ 2009-02-10 10:57 zxlin25 阅读(135) 评论(1) 推荐(0) 编辑