摘要: 一些 經常用到的日期轉換 函數 阅读全文
posted @ 2012-03-08 11:05 無限遐想 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 反射的一些總結,在實際項目中能用到 阅读全文
posted @ 2012-03-07 20:26 無限遐想 阅读(1076) 评论(0) 推荐(0) 编辑
摘要: 在MVC中使用Unity 阅读全文
posted @ 2012-03-07 14:21 無限遐想 阅读(3168) 评论(1) 推荐(2) 编辑
摘要: 關於日期運算,你沒有注意的東西 阅读全文
posted @ 2012-03-07 11:19 無限遐想 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 實現導出excell 的功能。使用C1.C1Excel.2 組建 阅读全文
posted @ 2012-03-06 16:18 無限遐想 阅读(546) 评论(1) 推荐(0) 编辑
摘要: public class CoverExcellToImage { private static string SAVEEXCELJPG = @"c:/temp/{0}.jpg"; private static readonly string[] ArrRang = new string[] { "A", "B", "C", "D", "E", "F", "G", "H", "I", " 阅读全文
posted @ 2012-03-05 18:01 無限遐想 阅读(451) 评论(0) 推荐(0) 编辑
摘要: string a = "2011/08-04/12"; DateTime m = DateTime.ParseExact(a, "yyyy/MM-dd/HH", null);// 或則下面的 string a = "2011-08-04-12"; CultureInfo provider = CultureInfo.InvariantCulture; DateTime m = DateTime.ParseExact(a, "yyyy-MM-dd-HH", null);//只要 字符串... 阅读全文
posted @ 2012-03-05 17:40 無限遐想 阅读(383) 评论(0) 推荐(1) 编辑
摘要: 1.添加一個jq擴展 <script type="text/javascript"> (function ($) { $.extend({ /** * 调用方法: var timerArr = $.blinkTitle.show(); * $.blinkTitle.clear(timerArr); */ blinkTitle: { show: function () { //有新消息时在title处闪烁提示 var step = 0, _title = document.title; var timer = setInterval(function () { s 阅读全文
posted @ 2012-03-05 13:32 無限遐想 阅读(454) 评论(0) 推荐(1) 编辑