校验是否为数字
/// <summary>
/// 判断是否为数字
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
public virtual bool IsNumber(object value)
{
int nubmerValue = 0;
if (int.TryParse(value.ToString(), out nubmerValue))
{
return true;
}
return false;
}