"The multi-part identifier could not be bound" sql, visual studio
<p>I am just learning c# and sql server. This question has been asked a couple of times but the solutions posted don't seem to help me. 
I have a table called "LoginInfo" that has a user's "email" and "pass".
In visual studio i have this method that checks a users login information</p>

<pre><code>private boolean dbQueryLogin(string email, string password)
    {
       string com = "SELECT pass FROM LoginInfo WHERE email = XXXXX@yahoo.com";

        SqlCommand command = new SqlCommand(com, conn);
        SqlDataReader reader = command.ExecuteReader();

       return reader.GetString(0).Equals(password);
    }
</code></pre>

<p>This keeps on throwing the error "Additional information: The multi-part identifier "XXXX.edu" could not be bound."
The syntax looks right to me, is there anything i'm missing??</p>