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

Source Error:


Line 9:      @if (Model != null)
Line 10:     {
Line 11:         <div class="my_parralax" style="background-image:url(Upload/Ourschool/@Model.image)">
Line 12: 
Line 13:         </div>

Source File: c:\inetpub\wwwroot\Bis-Edu\Views\Home\BritishEducationalSystem.cshtml    Line: 11






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