DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -17,7 +17,6 @@ using DevExpress.Utils; using DevExpress.XtraEditors; using DevExpress.XtraEditors.Controls; using DevExpress.XtraEditors.Repository; using DevExpress.XtraGrid; using DevExpress.XtraGrid.Columns; using DevExpress.XtraGrid.Menu; @@ -2025,7 +2024,13 @@ Regex regex = new Regex("^[0-9]+$"); return regex.IsMatch(str); } public static bool IsNumeric2(string str) { string input = str; decimal number; bool isNumeric = decimal.TryParse(input, out number); return isNumeric; } } /// <summary>