protected void logUser_Authenticate(object sender, AuthenticateEventArgs e)
    {
        MembershipUser user = Membership.GetUser(this.logUser.UserName);
        Label errorLabel = (Label)this.logUser.FindControl("FailureText");
        if (this.logUser.UserName.Equals(String.Empty) || this.logUser.Password.Equals(String.Empty))
        {
            errorLabel.Visible = true;
            errorLabel.Text = "对不起,请填写您的登录名和密码!";
            this.logUser.FailureText = "对不起,请填写您的登录名和密码!";
            e.Authenticated = false;
        }
        else
        {
            if (NullFilter(user))
            {
                if (Membership.ValidateUser(this.logUser.UserName,this.logUser.Password))
                {
                    Session["UserId"] = user.ProviderUserKey.ToString();
                    e.Authenticated = true;
                    Response.Redirect("Register.aspx");
                                       
                }
                else
                {
                    errorLabel.Text = "对不起,密码错误!";
                    this.logUser.FailureText = "对不起,密码错误!";
                    e.Authenticated = false;
                }
            }
            else
            {
                errorLabel.Visible = true;
                errorLabel.Text = "对不起,此用户不存在,请注册会员!";
                this.logUser.FailureText = "对不起,此用户不存在,请注册会员!";
            }
        }
    }上面是登录控件代码,但是我的loginview怎么也获取不了值这个地方也配置了<authentication mode="Forms">
各位大侠帮忙撒!!!