摘要: C#中ToString格式大全stringstr1 =string.Format("{0:N1}",56789); //result: 56,789.0stringstr2 =string.Format("{0:N2}",56789); //r... 阅读全文
posted @ 2016-01-04 14:13 vitas2015 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 在做web开发的时候经常遇到表单验证问题,表单验证一般有客户端验证和服务器端验证,这个验证插件仅仅能满足我的项目中的基本需求的。 Validate_Tools.jsfunction Validate_Text(obj){ return $.trim(obj.value) != "";}func... 阅读全文
posted @ 2016-01-04 12:58 vitas2015 阅读(215) 评论(0) 推荐(0) 编辑