Hi i have the following which is meant to check if an email address exists then update the password field, however i think i may have made an error in the way my method is written, can someone please check it for me and tell me where i am going wrong;
public static bool CheckEmailAddressExists(string strEmailAddress)
{
bool bExist = false;
SqlDatabase sqlDatabase = new SqlDatabase();
try
{
sqlDatabase.Open();
sqlDatabase.AddReturnParameter();
sqlDatabase.AddInputParameter("@EmailAddress", strEmailAddress);
sqlDatabase.ExecuteNonQuery("User_CheckIfEmailAddressExists");
...
Go to the complete details ...