forum

Home / DeveloperSection / Forums / select Query with AND Condition

select Query with AND Condition

Anonymous User 1462 27-Nov-2014

I want to select user but i cant get it . Here's my query 

        SqlCommand myCommand = new SqlCommand("Select * from Users where Email=" + UserEmailPass.Email + "And Password=" + UserEmailPass.Password, conn);
        SqlDataReader Detailsreader = myCommand.ExecuteReader();

Is my query correct or not>? please help


Updated on 28-Nov-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By