heres the statement in question
if (string.IsNullOrEmpty(Lbl1.Text) || string.IsNullOrEmpty(Lbl2.Text))
{
messagebox.show("Boxes Empty");
}
else
{
messagebox.show("Boxes not empty");
}
Can anyone see why it would not be hitting the else if Lbl2 has a value.
Thanks Inkey

New Topic/Question
Reply



MultiQuote




|