Server Error in '/' Application.

Status

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: Status

Source Error:


Line 135:                                <b>قیمت: </b>
Line 136:                                <span>
Line 137:                                    <%# Common.getStockPriceText(Convert.ToString(((System.Data.Common.DbDataRecord)Container.DataItem)["NormalPrice"]),
Line 138:                                                                 Convert.ToString(((System.Data.Common.DbDataRecord)Container.DataItem)["Quantity"]),
Line 139:                                                                 true,

Source File: h:\root\home\intellface-001\www\copybazar\App_Controls\Extended\ProductList.ascx    Line: 137

Stack Trace:


[IndexOutOfRangeException: Status]
   System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) +4902842
   System.Data.Common.DataRecordInternal.GetOrdinal(String name) +11
   System.Data.Common.DataRecordInternal.get_Item(String name) +15
   ASP.app_controls_extended_productlist_ascx.__DataBind__control13(Object sender, EventArgs e) in h:\root\home\intellface-001\www\copybazar\App_Controls\Extended\ProductList.ascx:137
   System.Web.UI.Control.OnDataBinding(EventArgs e) +99
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +92
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +211
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +211
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +125
   System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +459
   System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +54
   System.Web.UI.WebControls.BaseDataList.DataBind() +55
   ProductList.BindData() in h:\root\home\intellface-001\www\copybazar\App_Controls\Extended\ProductList.ascx.cs:133
   TopProducts.ProductList_loadListData(Int16 pPageIndex, Byte pSortOrder) in h:\root\home\intellface-001\www\copybazar\TopProducts.aspx.cs:55
   ProductList.loadData(Int16 pPageIndex, Byte pSortOrder) in h:\root\home\intellface-001\www\copybazar\App_Controls\Extended\ProductList.ascx.cs:114
   ProductList.OnLoad(EventArgs e) in h:\root\home\intellface-001\www\copybazar\App_Controls\Extended\ProductList.ascx.cs:126
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175