Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

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

Source Error:


Line 152:    protected void btnLogin_Click(object sender, EventArgs e)
Line 153:    {
Line 154:        User u = UserDAL.Login(txtEmail.Text, txtPwd.Text);
Line 155:        if (u == null)
Line 156:            lblMsg.Text = "Sorry! Invalid email/password!";

Source File: c:\inetpub\vhosts\fermented-foods.net.in\httpdocs\register.aspx.cs    Line: 154







Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3930.0