The question is only that: Why???
Code Snippet
- catch (Exception ex)
- {
- if ((ex.GetType().ToString() == "System.Data.SqlClient.SqlException") && ex.Message.LastIndexOf("Timeout expired") >= 0)
- {
- /// Secret code
- }
- else
- throw ex;
- }
Why the hell he doesn’t go and play football instead of programming?
No comments:
Post a Comment