.NET
Harth
思想丈量时间。
展开
-
时间戳转换时间
HTML:<th lay-data="{ field: 'CreationDate',sort:true,templet:'#CreationDate1'}">创建日期</th> script; <script type="text/html" id="CreationDate1"> {{# if(!(d.CreationDate)){ ..原创 2018-03-12 20:37:16 · 245 阅读 · 0 评论 -
.NET文件下载,文件压缩
需要引用using System.IO; /// <summary> /// 下载单个文件 /// </summary> public void DownLoadfile() { try { string fileName = Re...原创 2018-03-13 11:30:05 · 498 阅读 · 0 评论 -
.net 定时(倒计时)触发事件
//计时器 public void timer() { System.Timers.Timer timer = new System.Timers.Timer(); timer.Enabled = true; timer.Interval = 1000*60*60*12;...原创 2019-04-29 18:19:39 · 842 阅读 · 0 评论