if (Regex.Replace(textBox1.Text, @"\D", "") == textBox1.Text) { textBox2.Text = ("tryparse method succeed"); } else { textBox2.Text=("value entered is not numeric"); }
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)