Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems Saving to Foxpro Database
Message
De
05/12/2006 14:45:29
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Problems Saving to Foxpro Database
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01175006
Message ID:
01175006
Vues:
63
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform