Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems saving a dataset
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01144324
Message ID:
01145014
Views:
24
Linda,

>I understand what you're saying but I don't see how to apply it. I'm not passing any parameters in any of my code. Shouldn't the business object entity handle the data typing for bound objects? I'm using the default web business form save method, passing a dataset that has all the values to update the table. It looks like when the mmBusinessObject.SaveDataSet method checks for the primary key, if RetrieveAutoIncrement is false, the primary key is always set to null. Do I need to write an override method for this?

Gotcha...are you getting this error with all DataSets you are saving or just this one? If it's just this one, I recommend trying to create a custom data access class (as described in the MM .NET Dev Guide) to see if that fixes the problem.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform