/// <summary>是否数字</summary>
/// <param name="strInput">输入字符串</param>
/// <returns>true/false</returns>
public static bool isNumeric(string strInput)
{
char[] ca =strInput.ToCharArray();
bool found=true;
for (int i=0;i<ca.Length;i++)
{
if ((ca[i]<'0' || ca[i]>'9') && ca[i]!='.')
{
found=false;
break;
};
};
return found ;
}