#region 判断是否数字 public bool IsNumberic(string strNum) { try { //this.wteLog("", false, "测试" + strNum); Decimal i = System.Convert.ToDecimal(strNum); //this.wteLog("", false, "测试True" + i); return true; } catch (System.Exception ex) { this.wteLog("", false, "" + ex.Message); //this.wteLog("", false, "测试NO"); return false; } } #endregion