Numeric Check & number validation by c#

        public static bool IsNumeric(string value)
        {
            try
            {
                decimal credit = decimal.Parse(value);
            }
            catch
            {
                return false;
            }
            return true;
        }

Comments

Popular posts from this blog

How to use DbFunctions.TruncateTime

Microsoft Access Connectivity from C#

Tool 'dotnet-ef' failed to install. dotnet core