摘要:
1.金额(10位整数,2位小数) #region 余额 /// /// 余额 /// [DisplayName("余额")] [RegularExpression(@"^\d{1,10}(?:\.\d{1,2})?$", ErrorMessage = "金额输入有误!")] [DataType(DataType.Text)] [DisplayFormat(ConvertEmptyStringToNull = true)] public decimal Balances {... 阅读全文
posted @ 2013-12-25 14:33
心存善念
阅读(462)
评论(0)
推荐(0)
摘要:
获取控制器名称: ViewContext.RouteData.Values["controller"].ToString(); 获取Action名称: ViewContext.RouteData.Values["action"].ToString(); 获取路由参数值: ViewContext.Ro 阅读全文
posted @ 2013-12-25 14:00
心存善念
阅读(15880)
评论(2)
推荐(5)

浙公网安备 33010602011771号