Avatar of emi_sastra
emi_sastra

asked on 

Saving number value to datagridview problem.

Hi,

I use windows form with a bound datagridview.
It has a money field.

I entry at textbox and save it to datagridview.
The problem is when I entered 999,999,999 then the datagridview show 1,000,000,000 after I save it.

dgvRow.Cells(EnumGridViewColumn.NilaiTransaksi).Value = CSng(txtNilaiTransaksi.Text)

The txtNilaiTransaksi.Text has formatted.

Thank you.

Visual Basic.NET

Avatar of undefined
Last Comment
emi_sastra

8/22/2022 - Mon