nareshreporter
Programmer
Hi,
Im trying to compare two strings using Equals but didnt work.
Ex:
var str;
and this str stores the report parameter and i want to see whether it is "All".
so i am using
if(Equals(str, "All"))
{}
can anyone tell me how exactly i can use equals to compare two strings.
Thanks in advance
Im trying to compare two strings using Equals but didnt work.
Ex:
var str;
and this str stores the report parameter and i want to see whether it is "All".
so i am using
if(Equals(str, "All"))
{}
can anyone tell me how exactly i can use equals to compare two strings.
Thanks in advance