An unhandled exception of type System.FormatException occurred in mscorlib.dll

Last Reply 2 days ago By dharmendr

Posted 5 days ago

getting error when autocomplete is selecting in datagridview textbox



 For Each row In dgv.Rows
            row.Cells(dgv.Columns(5).Index).Value = (Convert.ToDouble(row.Cells(dgv.Columns(3).Index).ToString) * Convert.ToDouble(row.Cells(dgv.Columns(4).Index).ToString))


You are viewing reply posted by: dharmendr 2 days ago.
Posted 2 days ago Modified on 2 days ago

Hi nirmal90,

Please share your complete code. How do we know which even you are writing the code.

Also share the valow of the below code which you are trying to convert to double.



I agree, here is the link: