Hello, i am trying to insert data from datagridview to sql server.
The problem is that in my datagridview , i have decimal values with max 18 number after , and it's only inserting in the database the values with 0 after , .
What I have tried:
I've tried to convert the value in my datagridview to deciaml but not working.
Also i tried DefaultCellStyle.Format and also not working.
dataGridView1.Columns["solde"].DefaultCellStyle.Format = "N2";