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

Source Error:


Line 26:             if (Request.QueryString["id"].ToString() == "2")
Line 27:             {
Line 28:                 lblDept.Text = "Pakistan Science Abstracts";
Line 29:             }
Line 30:             else if (Request.QueryString["id"].ToString() == "3")

Source File: c:\inetpub\ftproot\LocalUser\nabibux\dev\writetestimonial.aspx.cs    Line: 28







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