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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FormatException: Input string was not in a correct format.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +317
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +101

[InvalidCastException: Conversion from string "400 ,1700" to type 'Integer' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) +305
   Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object Value) +1486
   getHotelData.GetHotelPrice(String vCurrSymbol, String vCurrPrice, Boolean vOnlineFlag, DataRowView row, String rowIndex) +106
   getHotelData.GetListViewHtmlMobile(Decimal gLatitude, String RecordCount, String dType, Int32 pNight, Int32 pCacheDiff, String vCurrSymbol, String vCurrPrice, Int32 vStartDiff, Int32 vEndDiff, Boolean& vOnlineFlag, String vDestinationIdea, DateTime vArrivalDate, String& vHID, DateTime vArrivalStartDate, DateTime vArrivalEndDate, String bType, String lType, String hType, DataView dv) +4162
   getHotelData.GetMobileAllData(Decimal gLatitude, Decimal gLongitude, String RecordCount, String view, Double MinPrice, Double MaxPrice, Int32 distance, String vSortId, String vSortExpression, String vRate, String vFacility, Int32 vPageSize, Int32 ACnt, String dType, Int32 pNight, Int32 pCacheDiff, String sBasketId, String pDate, String vCurrSymbol, String vCurrPrice) +1994
   PropertySearch.btnListClick(String vURL) +19434
   PropertySearch.Page_PreRender(Object sender, EventArgs e) +7722
   System.Web.UI.Control.OnPreRender(EventArgs e) +99
   System.Web.UI.Control.PreRenderRecursiveInternal() +200
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7479


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