只有注册用户登录后才能阅读该文。 阅读全文
摘要:
步骤1:GitHub下载https://github.com/MSOpenTech/redis/tags 这里下载的是Redis-x64-3.2.100版本,我的电脑是win10 64位,所以下载64位版本的,在运行中输入cmd,然后把目录指向解压的Redis目录。 安装后 cmd 输入以下命令 r 阅读全文
摘要:
1、目录结构 2、运行此命令还原新建MVC文件结构 生成对应的dll文件 3、配置launch.json 4、修改配置tasks.json文件 至此就可以愉快的debug运行!^_^ 阅读全文
摘要:
1、删除 xxxAreaRegistration.cs文件 2、HomeController 2、JoinController 3、生成链接 @Url.RouteUrl("JoinCode", new {action="Index",controller="Join",code=item["code 阅读全文
摘要:
1、首先 将程序的NuGet包 Microsoft.CodeDom.Providers.DotNetCompilerPlatform 这个包卸载掉 防止生成csc.exe 的一堆文件 2、配置网站根web.config 1 <appSettings> 2 <add key="webpages:Ver 阅读全文
摘要:
0~100%(含2位小数和必加"%"),可以为空:^([0-9]\d?(\.\d{0,2})?|100)%|d{0}$ 汉字验证:^[\u4e00-\u9fa5]+$ 15~18位身份证(含"x"):^\d{18}$|^\d{17}(?:\d|x|X)$|^\d{15}$ 大于大于8位数字组合:^\ 阅读全文
摘要:
<script type="text/javascript"> function fileclick() { document.getElementById("<%=doc.ClientID %>").click(); } </script> <div id="preview"> <img id=" 阅读全文
摘要:
1///<summary>2///ExpandMethod扩展方法3///</summary>4publicstaticclassExpandMethod5{6///<summary>7///字符串是否为null或者""8///true:是null或者"";false:则反之9///</summary>10///<paramname="s"></param>11///<returns></returns>12publicstaticbool 阅读全文