In addition to the other answers, you also need to string qualify some of your variables
Your SQL is currently being built as...
select Emailid, currentlocation,Gender from userdetails where Emailid=nsaritha34@gmail.com and currentlocation=Kolkata and Gender=Female
It would need to read more like
select Emailid, currentlocation,Gender from userdetails where Emailid='nsaritha34@gmail.com' and currentlocation='Kolkata' and Gender='Female'