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: CS1002: ; expected

Source Error:


Line 118:            title = title.Replace("&", "-");
Line 119:        if (title.Contains(" "))
Line 120:            url = "/electronics/" + Id + "/" + title.Trim().ToLower().Replace(" ", "-") + ".aspx";e
Line 121:        else
Line 122:            url = "/electronics/" + Id + "/" + title.Trim().ToLower() + ".aspx";

Source File: g:\pleskvhosts\pmu.edu\httpdocs\department-of-electronics-and-communication\event-detail.aspx.cs    Line: 120






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