I have two textbox and I want to have two different messagebox validation for each.
It goes like this
if(text1.Text.Length == 0)
{
messagebox.Show("error 1");
}
else
{
OK
}
Where would I put the textbox 2 for a different messagebox? Else if will not work. Need help