Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with oleDbData Adapter Config Wizard
Message
From
29/08/2005 14:33:36
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Error with oleDbData Adapter Config Wizard
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01044862
Message ID:
01044862
Views:
73
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
Next
Reply
Map
View

Click here to load this message in the networking platform