2018年5月4日

摘要: public static string IgetNumber(string str) { return System.Text.RegularExpressions.Regex.Replace(str, @"[^\d{2}-]*", ""); } string str = 1箱; string b 阅读全文
posted @ 2018-05-04 16:06 编程流氓 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 1、window没有 解决方法:控制面板——程序和功能——打开或关闭windows功能——Internet信息服务——web管理工 具和万维网服务(勾选) 2、添加应用程序池 版本4.0,管道模式选择集成 3、添加网站 名称自己取,应用程序池选择刚刚添加的那个,路径选择项目发布的路径,IP地址和端口 阅读全文
posted @ 2018-05-04 16:03 编程流氓 阅读(194) 评论(0) 推荐(0) 编辑
摘要: JS验证 1. 只能是汉字 <input onkeyup="value="/oblog/value.replace(/[^\u4E00-\u9FA5]/g,'')"> 2. 长度限制 function test() { if (document.a.b.value.length > 50) { al 阅读全文
posted @ 2018-05-04 09:53 编程流氓 阅读(90) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Data.Entity;using System.Linq;using System.Web;using System.Linq.Expressions; namespace QsD 阅读全文
posted @ 2018-05-04 09:47 编程流氓 阅读(161) 评论(0) 推荐(0) 编辑

导航