Server Error in '/' Application.

Value cannot be null.
Parameter name: String

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.ArgumentNullException: Value cannot be null.
Parameter name: String

Source Error:


Line 91:             catch
Line 92:             {
Line 93:                 _html = _html + "<p class='col-md-12 real-price'>Giá bán: " + String.Format("{0:##,##}", double.Parse(it.Prices)) + "<u>đ</u></p>";
Line 94:             }
Line 95:         _html = _html + "<p  class='col-md-4' style='border-bottom: none;'><a href='/order/" + it.ID + "' class='btn btn-primary' role='button'>Mua ngay</a></p>";

Source File: c:\inetpub\vhosts\thuocbietduoc.net\httpdocs\Controls\ModuleControls\products\detail.ascx.cs    Line: 93

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: String]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +10185801
   System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) +204
   System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info) +97
   Controls_modulecontrols_module_Products_detail.LoadData() in c:\inetpub\vhosts\thuocbietduoc.net\httpdocs\Controls\ModuleControls\products\detail.ascx.cs:93
   Controls_modulecontrols_module_Products_detail.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\thuocbietduoc.net\httpdocs\Controls\ModuleControls\products\detail.ascx.cs:17
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8813; ASP.NET Version:2.0.50727.8951