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: CS0117: 'News' does not contain a definition for 'GetNews'

Source Error:


Line 109:            else if (Request.QueryString["type"] =="1" )
Line 110:            {
Line 111:                DataTable ds = News.GetNews(Convert.ToInt32(Request.QueryString[0]), -1, 2);
Line 112:                Label2.Text = ds.Rows[0]["Fld_News_Title"].ToString();
Line 113:                lblbody.Text = ds.Rows[0]["Fld_News_Body"].ToString();

Source File: d:\Inetpub\vhosts\basharweb.com\gscjo.com\OneOnly.aspx.cs    Line: 111






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