• Jessie
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
Hi everyone,

http://wiki.yetanotherforum.net/AspNetMembershipIntegration.ashx ) but i got error when i used the following code as below

Compiler Error Message: CS0103: The name 'yaf' does not exist in the current context

Source Error:

System.Web.UI.WebControls.Login loginControl = (System.Web.UI.WebControls.Login)sender;
String password = FormsAuthentication.HashPasswordForStoringInConfigFile(loginControl.Password, "md5");
Object userID = yaf.DB.user_login(1, loginControl.UserName, password);

if (userID == DBNull.Value)

May I know how to solve this problem? Thanks.

YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button