Server Error in '/' Application.

Price

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Price

Source Error:


Line 21:             {
Line 22:                 int id_ = int.Parse(Request.QueryString["ShopID"].ToString());
Line 23:                 herftechLib.Shops shop = ShopsDAL.GetShops(id_);
Line 24: 
Line 25: 

Source File: e:\Projects\WebSites\souq\ShopDetails.aspx.cs    Line: 23

Stack Trace:


[IndexOutOfRangeException: Price]
   System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) +5318282
   System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +61
   System.Data.SqlClient.SqlDataReader.get_Item(String name) +15
   Microsoft.Practices.EnterpriseLibrary.Data.DataReaderWrapper.System.Data.IDataRecord.get_Item(String name) +51
   herftechLib.ShopsDAL.GetShops(Int32 id) in D:\Projects\Lancing\Women\herftech\Website\herftechLib\DAL\ShopsDAL.cs:55
   ShopDetails.Page_Load(Object sender, EventArgs e) in e:\Projects\WebSites\souq\ShopDetails.aspx.cs:23
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


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