There is not much to add since the error message allready says it all...
You can no compare a String with an Integer using the == operator.
What is it you want to achieve?
You can compare two numbers like
int a = 0;
if (a == 0) ...
or two Strings
string word = "Hello";
if (word == "Bark") ...
but not
if (a == word)
...
Maybe now you see what is wrong in your code?