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: CS0103: The name 'DB' does not exist in the current context

Source Error:


Line 47:             //original...string sql = "select Top 25 keyword, COUNT(*) as count from ProductDownload with (nolock) where Keyword != '' AND DATEDIFF(dd,CreatedOn,GETDATE())<10 group by Keyword order by Keyword";
Line 48: 			string sql = "select keyword, counts from TopKeywords250 with (nolock) where Keyword != '' AND Keyword not like '%power graphics%' AND Keyword not like '%power templates%' AND Keyword not like '%backgrounds%' and LEN(Keyword) > 2 order by keyword";
Line 49:             IDataReader rs = DB.GetRS(sql);
Line 50:             StringBuilder tmp = new StringBuilder();
Line 51: 			string keyword = "";

Source File: e:\web\presentationpro.com\tag-cloud.aspx.cs    Line: 49





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