2条回答 默认 最新
threenewbee 2015-03-19 07:22关注int temp = 0;
if (int.TryParse(Pub_Address.Text, out temp))
{
if (Convert.ToInt16(Pub_Address.Text) > 255)
{
...
}
}本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
int temp = 0;
if (int.TryParse(Pub_Address.Text, out temp))
{
if (Convert.ToInt16(Pub_Address.Text) > 255)
{
...
}
}