Besides, since this error is related with asp.net, I suggest you could post this issue on the asp.net forum.
Regards,
Jalpa.
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
1616 Posts
Re: error code 3005: Input string was not in a correct format
Dec 17, 2018 09:26 AM|Jalpa Panchal|LINK
Hi aross0155,
According to your error message, I guess you may use the wrong string(not number) to convert to number.
I suggest you could try to use Int32.TryParse to convert string to number.
More details about how to use it, you could refer to below article:
https://docs.microsoft.com/en-us/dotnet/api/system.int32.tryparse?view=netframework-4.7.2
Besides, since this error is related with asp.net, I suggest you could post this issue on the asp.net forum.
Regards,
Jalpa.