General information
Category:
The Mere Mortals .NET Framework
Title:
Problems Saving to Foxpro Database
Environment versions
Network:
Windows 2000 Server
I am fairly new to .NET and MM20.
I'm having problems with saving data to Foxpro Data from an ASP .NET form. The data is being read properly and is getting bound to textboxes, etc. But when I call the this.Save(...) method, I get the following error:
OleDbCommand.Prepare method requires all parameters to have an explicitly set type.
I've tried the SaveRow() method as well but got the same results. I did use the MM business layer generator to create the entities to bind to the textboxes, etc.
I then tried the MM winform sample with the orders form and I get the same error when I attempt to save any changes there, too.
I tried to follow the code down in the MM framework, but could not locate where the commands were being established for the Prepare method to work with to see if I could detect what might be going on.
When I examine the dataset in debug mode, I do see date fields expressed with both the date and time but the Foxpro fields are only of the date type.
I seem to be missing the boat here on something. Any suggestions?
Thanks,
Dave
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only