Sending float data to the database

Hi,

I am trying to insert data into an sql database,

This is the design

image

this is how I parameterized it,

however this is the error i’m encountering

image

My query:

Please can you assist on how I can go about sorting this out.

Hi @Aki1111

In the parameter, when you are converting subtotal, vat & total to the double type, instead of Convert.ToDouble, can you check with the usage of CDbl(row("total").ToString) once?

Hope this helps,
Best Regards.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.