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

Source Error:


Line 18:         {
Line 19:             int remtypeid = Convert.ToInt32(Request.QueryString["ID"]);
Line 20:             dt = obj.GetRemediesbytypeid(remtypeid);
Line 21:             Repeater3.DataSource = dt;
Line 22:             Repeater3.DataBind();

Source File: d:\Inetpub\vhosts\best4shoppy.com\24x7healthonline.com\OnlineRemedies.aspx.cs    Line: 20






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