Posted by: Jessie - Friday, 29 January 2010 01:39:53 |
---|
Hi everyone, I am trying to integrate my application with the forum (refer to http://wiki.yetanotherforum.net/AspNetMembershipIntegration.ashx) but i got error when i used the following code as below [b]Compiler Error Message: CS0103: The name 'yaf' does not exist in the current context[/b] Source Error: System.Web.UI.WebControls.Login loginControl = (System.Web.UI.WebControls.Login)sender; String password = FormsAuthentication.HashPasswordForStoringInConfigFile(loginControl.Password, "md5"); [b]Object userID = yaf.DB.user_login(1, loginControl.UserName, password);[/b] if (userID == DBNull.Value) May I know how to solve this problem? Thanks. |