1,安装好nodejs 2,运行npm install anywhere -g 安装anywhere 3,从命令终端进入你的项目目录,运行anywhere youpoint 例如:anywhere 8860 至此,你的服务已运行起来,不要关掉命令窗口,关掉命令窗口,就等于关掉了你的服务 在浏览器输入 Read More
posted @ 2016-03-03 18:19 杯子不存在 Views(140) Comments(0) Diggs(0)
在本地建立好git仓库之后,怎样将项目发布到远程仓库。步骤如下: 1,首先在https://github.com注册账户; 2,然后创建create repository(建立仓库); 3,给项目添加本地仓库:git remote add origin 'https://github.com/use Read More
posted @ 2016-02-17 10:31 杯子不存在 Views(142) Comments(0) Diggs(0)
1,windows安装,地址: http://msysgit.github.com/ 2,配置信息,用户名,邮箱,命令分别是:git config --global user.name 'xx'; git config --global user.email xxxx.com 3,进入项目目录:执行 Read More
posted @ 2016-02-04 17:25 杯子不存在 Views(111) Comments(0) Diggs(0)
npoi读取excel方法:首先下载:npoi.dll添加引用://读写excel需要的组建using NPOI.HPSF;using NPOI.HSSF.UserModel;using NPOI.POIFS.FileSystem;using NPOI.HSSF.Util;using NPOI.SS... Read More
posted @ 2016-01-23 17:51 杯子不存在 Views(609) Comments(0) Diggs(0)
用帆软报表做统计时,经常要用到查询时间段内的月份。sql如下(oracle):SELECT TO_CHAR(ADD_MONTHS(TO_DATE('${STARTTIME}', 'YYYY-MM'), ROWNUM - 1),'yyyy-MM') eDate, TO_CHAR(ADD_M... Read More
posted @ 2016-01-21 19:48 杯子不存在 Views(3711) Comments(0) Diggs(0)
最近要实现了一个附件预览的功能。在网上搜了好多。最终实现了该功能。现在总结一下,以便以后查看1、要用到的组建:aspose.words.dll;aspose.cells.dll;aspose.sliders.dll;用来实现将office文档转换为pdf文档。效果很不错。具体代码如下: public... Read More
posted @ 2015-04-08 15:37 杯子不存在 Views(858) Comments(0) Diggs(0)
1、添加引用:using System.Web.Script.Serialization;(system.web.extends)2、转换: JavaScriptSerializer jss = new JavaScriptSerializer(); List saveData... Read More
posted @ 2015-03-11 17:51 杯子不存在 Views(312) Comments(0) Diggs(0)
选择文件: 导入取消 //ajax提交form表单:注意:必须引用jquery.form.js和jquery-1.8.0.m... Read More
posted @ 2014-11-07 14:31 杯子不存在 Views(544) Comments(0) Diggs(0)
public static BaseEntity ReceiveEntity(DataRow dr, BaseEntity entity) {//声明可以转换为nullable类型的实例 System.ComponentModel.NullableConvert... Read More
posted @ 2014-11-07 14:09 杯子不存在 Views(195) Comments(0) Diggs(0)