for (int i = 0; i <= cmbdep.Items.Count; i++) { if (cmbdep.Text == cmbdep.Items.ToString()) { c = 1; break; } else { c = 0; } }
<
<=
cmbdep.Items.ToString()
cmbdep.Items[i].ToString()
c
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)