Exception Notification

by ssi 30. April 2013 18:46
I like to use this snippet in a catch statement to display an error to the user without stopping the application

catch
 (Exception ex) { lblErr.Text = string.Format("{0}", ex.Message); }

Tags:

CSharp

Add comment

biuquote
  • Comment
  • Preview
Loading

Calendar

<<  July 2025  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar

RecentComments

None

Development Team @ Shelbysys

We develop custom database applications for our clients. Our development tool of choice is MS Visual Studio. 

Quotations

"A woman's guess is much more accurate than a man's certainty."
Rudyard Kipling