Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling design issues
Message
From
04/12/2003 11:48:48
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00855919
Message ID:
00855941
Views:
18
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform