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

Source Error:


Line 32:                                                        <a href="/countryconsultant/@StudyAbroadMVC.Models.GenericFunctions.RemoveWhiteSpaces(item.Name.ToLower())-@item.ID">
Line 33:                                                            <div class="flag-img">
Line 34:                                                                <img src="http://www.studyabroad.pk/images/pageImages/@item.logo" alt="@item.logo" style="width:150px;">
Line 35:                                                            </div>
Line 36:                                                        </a>

Source File: d:\Inetpub\vhosts\jobup.online\studyabroad.pk\Views\University\AllCountryUniversity.cshtml    Line: 34






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