public bool IsNumeric(string s)
{
bool isnumeric = false;
if (!IsEmptyString(s))
{
try
{
System.Double.Parse(s, System.Globalization.NumberStyles.Any, null);
isnumeric = true;
}
catch
{
isnumeric = false;
}
}
else
{
isnumeric = false;
}
return isnumeric;
}