Check a string is number or not in C#
double result;
bool isNumeric = double.TryParse(rdr[i].ToString(), out result);
Here rdr[i].ToString() is my string to be checked .Kindest Regards
Sibeesh Venu
www.sibeeshpassion.com
Check a string is number or not in C#.
double result;
bool isNumeric = double.TryParse(rdr[i].ToString(), out result);
Here rdr[i].ToString() is my string to be checked .