7
Answers

Input string was not in a correct format

Chuck Foss

Chuck Foss

16y
17.3k
1

My C# .NET 2.0 application code looks like this:

 

gridData.Rows[i - 1][Convert.ToInt32(BillDivColumns.salary)]=

                            (Convert.ToInt32(bdmSet.BILLING_DIV_MEMBER_SET_LIST[i - 1].A_SAL_CNS) / 100).ToString("###,###,##0.00");

The input data is 785.
The data is being displayed as 7.00

When trying to edit the field in the application, I get the error msg: "Input string was not in a correct format."

Can you tell me what I'm doing wrong?

Thank you.

Chuck

Answers (7)
0
Akhil Garg
NA 3.1k 440.9k 10y
You have window update issue. check this link.

https://social.msdn.microsoft.com/Forums/vstudio/en-US/afeabac0-86d7-4ef1-a630-75c9e5f73663/cant-install-microsoft-framework-4-error-code-0xc8000222?forum=netfxsetup
0
khushboo modi
NA 12 2.3k 10y

Attachment log.zip

My Firwall is already off.
here i m shairing my log file, as well as the screenshort of the error screen:



0
Akhil Garg
NA 3.1k 440.9k 10y
You just check log file or share it. 


You can turn off your firewall and check .