I have several FormViews that aer bound to EntityDataSources. In these FormViews, I would like to allow the user to enter a "comma" to seperate thousands. Although, when the EntityDataSource goes to save these changes to the database. It throws the exception: "Cannot convert yhe value of parameter to the type 'System.Double'.
I have tried removing the commas from the text box in the "OnItemUpdating" event handler for the FormView, but this is too late. (It still fails, but when the page renders back, the commas are gone, THEN the save works). I need to get the commas removed Before the EntityDataSource saves them or if I could just get the EntityFramework to handle them, that would be even better.
View Complete Post