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: CS1061: 'string' does not contain a definition for 'toUpper' and no extension method 'toUpper' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 37:             icerikmenu.sayfaId = sayfa.SayfalarID;
Line 38:             breadcrumb.sayfaId = sayfa.SayfalarID;
Line 39:             li_title.Text = sayfa.SayfalarContentTitle.toUpper(new System.Globalization.CultureInfo(lang));
Line 40:             Literal1.Text = extools.ModulKontrol(sayfa.SayfalarText);
Line 41:             

Source File: c:\inetpub\wwwroot\creativedesigniraq.com\icerik-sayfalari.aspx.cs    Line: 39






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