Server Error in '/' Application.

Input string was not in a correct format.

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.FormatException: Input string was not in a correct format.

Source Error:


Line 60:                             <span class='new_home_center_block_state state_<%# ((int)Eval("MojudiCurrent") >0) ? "yes" : "no"%>'>
Line 61:                                 <%# ((int)Eval("MojudiCurrent") >0) ? "موجود است" : "موجود نیست"%></span> <span class="new_home_center_block_price">
Line 62:                                     قیمت :<%# String.Format("{0:#,## تومان }",Convert.ToDouble( Eval("Price")) ) %></span></div>
Line 63:                         <div class="sfli_hover">
Line 64:                             <asp:LinkButton ID="Button1" OnCommand="ButtonBuy_Command" CommandArgument='<%# Eval("Id") %>'

Source File: d:\hostingspaces\luxeweb2.ir\zandbiotech.com\ProductSubCategory.aspx    Line: 62

Stack Trace:


[FormatException: Input string was not in a correct format.]
   System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) +14619532
   System.String.System.IConvertible.ToDouble(IFormatProvider provider) +59
   ASP.productsubcategory_aspx.__DataBind__control7(Object sender, EventArgs e) in d:\hostingspaces\luxeweb2.ir\zandbiotech.com\ProductSubCategory.aspx:62
   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.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +174
   System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource) +291
   System.Web.UI.WebControls.Repeater.PostGetDataAction(IEnumerable dataSource) +109
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +81
   Uc_Page.GetItems() +990
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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