Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling design issues
Message
De
04/12/2003 11:48:48
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00855919
Message ID:
00855941
Vues:
17
>>My question is, is there a better way of determining if an error occurred other than checking for the absence of a DataTable? <

Steve,

One of the things that we do is to pass a Message parameter along with the method calls (a string passed by reference). If that Message variable comes back other than "", then you can display the message or whatever. We typically log the error at the DataAccess level to the system's EventLog, but then we also have the option to display the error message at the UI level.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform