摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s... 阅读全文
posted @ 2017-03-23 20:05 张三的编码生活 阅读(725) 评论(1) 推荐(0) 编辑
摘要: public static void WriteLog(string strLog) { string sFilePath="d:\\"+DateTime.Now.ToString("yyyyMM"); string sFileName = DateTime.Now.ToString("dd") + 阅读全文
posted @ 2016-12-15 09:41 张三的编码生活 阅读(197) 评论(0) 推荐(0) 编辑
摘要: public static bool CheckAgent() { bool flag = false; string agent = HttpContext.Current.Request.UserAgent; string[] keywords = { "Android", "iPhone", "Win... 阅读全文
posted @ 2016-05-05 19:54 张三的编码生活 阅读(591) 评论(0) 推荐(1) 编辑
摘要: 我是oracle 界的小白,由于公司领导要求,不得不硬着头皮在网上找rman备份还原的方法,废话不多说,具体看例子(window) 运行CMD; rman target 管理员账号/密码@orcl 备份run{allocate channel d1 device type disk format ' 阅读全文
posted @ 2016-04-29 16:07 张三的编码生活 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 话不多说,直接上代码 阅读全文
posted @ 2016-03-20 18:27 张三的编码生活 阅读(1223) 评论(0) 推荐(0) 编辑
摘要: 掉用缓存方法: var listModel =ProclamationCache.GetProclamationList(); //实现方法 public static List<ProclamationModel> GetProclamationList() { var cache = GetTo 阅读全文
posted @ 2016-03-03 15:23 张三的编码生活 阅读(136) 评论(0) 推荐(0) 编辑
摘要: $(function () { var WeixinCode = GetQueryString("WeixinCode"); $("#ProXQ").attr('href', '/Procla/Procla/Index?code='+ WeixinCod... 阅读全文
posted @ 2015-08-31 09:18 张三的编码生活 阅读(128) 评论(0) 推荐(0) 编辑
摘要: private string CreateJoson(string result, string message) { return "{" + "\"result\":\"" + result + "\",\"messageInfo\":\"" + message + "\"}"; } 例如: r 阅读全文
posted @ 2015-08-28 18:52 张三的编码生活 阅读(569) 评论(0) 推荐(0) 编辑
摘要: " class="new-a-prve">上一页 1/... 阅读全文
posted @ 2014-05-27 17:59 张三的编码生活 阅读(299) 评论(0) 推荐(0) 编辑
摘要: /// /// 格式化日期时间 /// /// 日期时间 /// 显示模式 /// 0-9种模式的日期 public static string FormatDate(DateTime dateTime1, st... 阅读全文
posted @ 2014-05-12 16:07 张三的编码生活 阅读(360) 评论(0) 推荐(0) 编辑