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 'TxtUsername' does not exist in the current context

Source Error:


Line 106:            param[10] = new SqlParameter("@EntryDT", SqlDbType.DateTime);
Line 107:
Line 108:            param[0].Value = TxtUsername.Text;
Line 109:            param[1].Value = Encrypt(TxtPassword.Text.Trim());
Line 110:            param[2].Value = Encrypt(TxtPassword.Text.Trim());

Source File: c:\Website\KliteWebsite2021\Register.aspx.cs    Line: 108






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