Use
int.TryParse()
Here is a sample code:
string text = Label1.Text;
int number;
if (int.TryParse(text, out number))
{
}
else
{
}
<br />
int.TryParse()
is a better way because it won't throw any exception at runtime if the string value is not actually a number.