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

Source Error:


Line 26:     protected void btnSubmit_Click(object sender, EventArgs e)
Line 27:     {
Line 28:         string JobTitle = ddlNonTeaching.SelectedValue == "Pharmacist" ? "Pharmacist" : "-";
Line 29:         if (JobTitle == "Pharmacist")
Line 30:         {

Source File: e:\inetpub\vhosts\dpu.edu.in\medical.dpu.edu.in\Careernew.aspx.cs    Line: 28






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