Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error with oleDbData Adapter Config Wizard
Message
De
29/08/2005 14:33:36
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Error with oleDbData Adapter Config Wizard
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01044862
Message ID:
01044862
Vues:
71
All,

When creating a custom data access class for an oleDbData Adapter, I get errors configuring the data adapter when generating the SQL UPDATE and Delete statements. The SELECT, INSERT and table mappings do not generate an error.

Basically I followed the example in the JumpStart Guide for Creating Business Objects - C# Step 6, except when creating the custom class I choose the 'oleDBDataAdapter' instead of the 'SQLDataAdapter'. I was able to select all of the columns and click the OK button to close the query builder. It was on the 'View Wizard Results' screen where the errors were detailed. Looking at the code that is generated, the UPDATE and DELETE sections are not there.

I also looked at the Northwind sample for the OrderdetailDataAccessOledb.cs file and saw that an UPDATE and DELETE section was created.

Thanks in advance fo any help offered.
David "Doc" Herbert
Source Consulting Inc.
email: dave@2sci.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform