Ferdi Kocboga

Ferdi Kocboga

  • NA
  • 15
  • 1k

String of the expression I defined from object type

Apr 27 2019 3:22 AM
int kontrol = 0;
foreach (object a in listView1.Items)
{
string buluar;
if (a == textBox4.Text)
{
kontrol=kontrol+1;
MessageBox.Show("Çikis tamam");
}
if(a==textBox7)
{
kontrol=kontrol+3;
}
if(a==maskedTextBox2)
{
kontrol = kontrol + 5;
}
}

Attachment: hata.rar

Answers (5)