摘要: public static string GetMd5Hash() { TimeSpan ts = DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, 0); var input= Convert.ToInt64(ts.TotalMilliseco 阅读全文
posted @ 2018-04-24 14:21 MORROW 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 执行sql脚本文件(大文件适用): sqlcmd -U . -S sa -P 4368c0c0 -i E:\WebSystems\xxx.sql 阅读全文
posted @ 2017-03-06 10:25 MORROW 阅读(118) 评论(0) 推荐(0) 编辑
摘要: SVN更新项目批处理文件代码: 新建批处理文件(xxx.bat)内容如下: @echo off @echo 项目名称"svn运行目录" update "项目文件目录" --username svn帐号 --password svn密码pause 例: @echo off @echo XXXX"c:\ 阅读全文
posted @ 2017-02-08 16:59 MORROW 阅读(716) 评论(0) 推荐(0) 编辑
摘要: Windows2000 Server服务器配置IIS的MIME类型地址:Internet 服务管理器Internet 服务管理器-->主机属性-->计算机(MIME映射)-->编辑-->新类型 内容类型(MIME) 关联扩展名text/vnd.wap.wml wmlimage/vnd.wap.wbm 阅读全文
posted @ 2016-05-09 12:04 MORROW 阅读(807) 评论(0) 推荐(0) 编辑
摘要: 打开vs 背景图片:工具——>扩展和更新——>联机——>搜索框输入 ClaudiaIDE 下载安装即可 垂直虚线:工具——>扩展和更新——>联机——>搜索框输入 Indent Guides 下载安装即可 相关属性设置:工具——>选项 阅读全文
posted @ 2016-05-09 11:50 MORROW 阅读(137) 评论(0) 推荐(0) 编辑
摘要: vs2012 出来了,但是MS还是一如既往的向下兼容。 废话不多说,直接主题 要使用vs2010打开vs2012的解决方案必须得改2个东西,解决方案 和 工程文件 解决方案就是后缀名为 .sln vs2010 vs2012 如图,把Version 从12.00 改为11.00 ,2012 改为 20 阅读全文
posted @ 2016-05-09 11:04 MORROW 阅读(511) 评论(0) 推荐(1) 编辑
摘要: using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using Newtonsoft.Json.Linq; n 阅读全文
posted @ 2016-05-04 16:44 MORROW 阅读(258) 评论(0) 推荐(0) 编辑
摘要: with temptbl as (SELECT ROW_NUMBER() OVER (order by ProductID)AS Row, * from Products) SELECT * FROM temptbl where Row between (@pageindex)*@pagesize+ 阅读全文
posted @ 2016-03-21 16:02 MORROW 阅读(108) 评论(0) 推荐(0) 编辑