Well, what happens next I'm trying to ask for a field in case it's blank
I have the following, I have a textbox with name txtEdad
then I put it like that
int edad=Int32.Parse(txtEdad.Text);
if(txtEdad.Text=="")
{
MessageBox.Show("Debes rellenar este campo");
}
But when I try it and leave the Age field blank, it sends me to this line and does not show the message in other words "It stops and sends me to that line"
int edad=Int32.Parse(txtEdad.Text);