Array not populating correctly in datagrid

HI, I have a cobol program which returns me the array in a copybook when I pass that copy book to form and try to load that array in datagridview the value is getting changed.

e.g  The Copy Book Variable is declared

01 S PIC S9(9)V99 occurs 15 times

and when I am binding it to grid inside a loop

invoke dgv::Rows::Add(S(counter))

Parents Reply Children
No Data