- foreach (object a in listView1.Items)
- {
- if (a.ToString() == textBox4.Text.ToString())//Burada " a " ifadesi textbox4.text ifadesine esit oldugu halde false degeri veriyor sebebi ne olabilr.
- {
- kontrol=kontrol+1;
- }
- if(a==textBox7)
- {
- kontrol=kontrol+3;
- }
- if(a==maskedTextBox2)
- {
- kontrol = kontrol + 5;
- }
Loading
Ferdi KocbogaPosted Apr 27, 2019, 2:50 AM
if(a.Tostring()==textBox4.Text)Here is the reason why "a" is false even though it is equal to the textbox4.text statement.Amit KumarPosted Apr 25, 2019, 1:02 PM
Nilesh ShahPosted Apr 25, 2019, 7:34 AM