Server Error in '/' Application.

DataBinding: 'DALModel.PicDrugProduct' does not contain a property with the name 'Phone'.

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.Web.HttpException: DataBinding: 'DALModel.PicDrugProduct' does not contain a property with the name 'Phone'.

Source Error:


Line 174:                                                </svg>
Line 175:                                        </div>
Line 176:                                        <%#((Eval("Price")!=null && Eval("Price").ToString()!="0") ? "<span class='pri'>قیمت :"+Function.makeprice(Eval("Price").ToString().Replace("تومان",""))+"</span>":(Eval("Phone")!=null && Eval("Phone")!="" ? "<a class='tel' href='tel:"+Eval("PhoneCall")+"'>"+Eval("Phone")+"</a>":"<span class='pri'>قیمت :تماس بگیرید</span>")) %>
Line 177:                                    </div>
Line 178:                                    <button type="button" class="news__btn news__btn--edit" style="width: 50%;">مشاهده توضیحات</button>

Source File: c:\inetpub\vhosts\mapstar.net\httpdocs\pharmacy\allproduct\Default.aspx    Line: 176

Stack Trace:


[HttpException (0x80004005): DataBinding: 'DALModel.PicDrugProduct' does not contain a property with the name 'Phone'.]
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +3950390
   System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) +95
   ASP.pharmacy_allproduct_default_aspx.__DataBind__control16(Object sender, EventArgs e) in c:\inetpub\vhosts\mapstar.net\httpdocs\pharmacy\allproduct\Default.aspx:176
   System.Web.UI.Control.OnDataBinding(EventArgs e) +100
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +178
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   System.Web.UI.WebControls.ListView.CreateItemsWithoutGroups(ListViewPagedDataSource dataSource, Boolean dataBinding, InsertItemPosition insertPosition, ArrayList keyArray) +1188
   System.Web.UI.WebControls.ListView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +1284
   System.Web.UI.WebControls.ListView.PerformDataBinding(IEnumerable data) +53
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +208
   System.Web.UI.WebControls.ListView.PerformSelect() +128
   restaurant_best_Default.BindList() in c:\inetpub\vhosts\mapstar.net\httpdocs\pharmacy\allproduct\Default.aspx.cs:67
   restaurant_best_Default.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\mapstar.net\httpdocs\pharmacy\allproduct\Default.aspx.cs:34
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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