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: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).

Source Error:


Line 9:  using huahaocms.com.DbHelper;
Line 10: 
Line 11: public partial class news_customer_Default : WebPage
Line 12: {
Line 13:     public Dictionary<string, string> banner = DbHelperSQL.QueryDic("SELECT * FROM Web_Content WHERE MenuNo='7a5c694270ed4a029d8a80cbbfe654ab' AND RECORDSTATUS='ACTIVE' AND Language='CN' ORDER BY IsTop DESC, SortId DESC, ContentID DESC ");

Source File: d:\website\news\customer\Default.aspx.cs    Line: 11






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