Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving SQL Errors
Message
 
À
21/08/2007 11:51:04
Jeff Corder
Ambit Technologies, LLC
Missouri, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01249398
Message ID:
01249501
Vues:
16
Jeff,

>Occasionally, I will get an error when saving a business object. There are no broken rules. When I trace through, it turns out that SQL threw the error and MM "handled" it for me. When I get the RulesNotPassed returned value, how can I check to see what the error message is from SQL Server?

You can check the business object's Exception property.

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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform