摘要: 1.ModelState.AddModelError("ServerMessage", MessageHelper.Instance.GetMessage(code));@Html.ValidationMessage("ServerMessage")2.private Field<DateTime?> _ExpiredDate = new Field<DateTime?>();如果是底层返回的数据,则应该判断_ExpiredDate == null如果你是new, 则判断_ExpiredDate.value == null此类型前 阅读全文
posted @ 2012-09-11 16:22 流失的痕迹 阅读(148) 评论(0) 推荐(0) 编辑