masterfy

 

2009年6月9日

使用SqlException的Error Number自定义友好信息

摘要: private void DeleteMessageHandler() { try { DeleteData(); RefreshData(); } catch (Exception ex) { if (ex.GetType() == typeof(SqlException)) { SqlException sqlex = ex as SqlException; switch (sqlex.Num... 阅读全文

posted @ 2009-06-09 14:16 masterfy 阅读(817) 评论(0) 推荐(0)

导航