0

i am trying to check condition before entering into it but it is entering in wrong condition

my conditions are ,

 if (Target.Tables[0].Rows[0]["T_B_CX"].ToString() == "0" && Convert.ToInt64(Target.Tables[0].Rows[0]["T_B_C"]) >= 100000)

if (Target.Tables[0].Rows[0]["T_B_CX"].ToString() != "0" && Convert.ToInt64(Target.Tables[0].Rows[0]["T_B_C"]) > 10000000)

the values are,

T_B_CX = 0 and T_B_C = 2500000000

it must enter the fist condition i mentioned but it is entering in second condition???

Hopes for your suggestion thanks in advance

4

2 に答える 2