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

Opening post

by ssi 30. April 2013 18:36

We are setting up this blog to keep snippets of c# code and MS SQL script that we develop over the years for our clients. I  just hope I can keep politics out of my posts.

Tags:

Calendar

<<  May 2024  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

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