Error deleting a Gridview record that has a formatted column
I have a GridView bound to a DataSource in which one of the BoundFields has a DataStringFormat of {"0:C0"}. When I delete a record I get an error indicating that the field cannot be converted to a Decimal type. If I remove the format, the delete works fine.
Is the GridView/DataSource combination not intelligent enough to automatically strip off formatting prior to a database operation?
|