Hi
In my windows application i have a combobox() and textbox().I want to show a messagebox if cmb1 is 0 and txtbx1 or txtbx2 is empty.The below code doesnt work.It shows the Messagebox even when cmb1== 0 and txt1 is empty
if ((cmb1.Text != "0" &&( txtbx1.Text ==""|| txtbx2.Text =="" ))
{
MessageBox.Show();
}
Can anyone help with the code
thanx in Advance