..
This commit is contained in:
		| @@ -213,8 +213,16 @@ namespace Project._Common | ||||
|  | ||||
|             } | ||||
|  | ||||
|             db.SaveChanges(); | ||||
|             this.DialogResult = DialogResult.OK; | ||||
|             try | ||||
|             { | ||||
|                 db.SaveChanges(); | ||||
|                 this.DialogResult = DialogResult.OK; | ||||
|             } | ||||
|             catch (Exception ex) | ||||
|             { | ||||
|                 FCOMMON.Util.MsgE("save error\n"+ex.Message); | ||||
|             } | ||||
|  | ||||
|  | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi