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 392:
Line 393:            KargoFiyati hesapla = new KargoFiyati();
Line 394:            KargoFiyati = hesapla.kargoFiyati(dropDownUlkeler.SelectedValue, 1, dtrData["ID"].ToString(), Convert.ToDouble(lblNormalFiyat.Text));
Line 395:
Line 396:            ListItem list = new ListItem();

Source File: c:\inetpub\vhosts\ipeksalevi.com\httpdocs\urun.aspx.cs    Line: 394

Stack Trace:


[FormatException: Input string was not in a correct format.]
   System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) +13043247
   System.Convert.ToDouble(String value) +53
   urun_detay.kargoFirmalariGetir() in c:\inetpub\vhosts\ipeksalevi.com\httpdocs\urun.aspx.cs:394
   urun_detay.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\ipeksalevi.com\httpdocs\urun.aspx.cs:40
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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