Sehaj
Programmer
- Apr 21, 2014
- 1
Getting an error "Data Type Mismatch" when passing numeric value from vb.net to visual foxpro table.
The structure for field "pack price" is numeric(15,6) in visual foxpro.
The vb.net line which is showing error is :
cmd36.Parameters.AddWithValue("pack_price", CDec(txttotalprice.Text).ToString("N6")).
Kindly advice.
The structure for field "pack price" is numeric(15,6) in visual foxpro.
The vb.net line which is showing error is :
cmd36.Parameters.AddWithValue("pack_price", CDec(txttotalprice.Text).ToString("N6")).
Kindly advice.