导航

2015年1月15日

摘要: “/”应用程序中的服务器错误。Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.说明:执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息... 阅读全文

posted @ 2015-01-15 10:53 世纪老妖 阅读(4081) 评论(0) 推荐(0) 编辑

2013年9月11日

摘要: 也是刚开始接触移动前端,大虾别喷 1 2 3 4 5 HTML5测试 6 7 37 38 39 40 41 X轴移动大小:042 43 44 45 46 47 48 49 阅读全文

posted @ 2013-09-11 16:51 世纪老妖 阅读(51857) 评论(2) 推荐(1) 编辑

2011年5月31日

摘要: function dateDiff(interval, date1, date2){var objInterval = {'D':1000 * 60 * 60 * 24,'H':1000 * 60 * 60,'M':1000 * 60,'S':1000,'T':1};interval = interval.toUpperCase();var dt1 = new Date(Date.parse(date1.replace(/-/g, '/')));var dt2 = new Date(Date.par 阅读全文

posted @ 2011-05-31 11:00 世纪老妖 阅读(5404) 评论(0) 推荐(0) 编辑

2011年1月4日

摘要: 页面代码JS 文件下载:PNT.js 阅读全文

posted @ 2011-01-04 14:16 世纪老妖 阅读(328) 评论(0) 推荐(0) 编辑

2010年12月6日

摘要: public void MailSend(string[] mails) { try { MailMessage message = new MailMessage(); foreach (string mail in mails) { ... 阅读全文

posted @ 2010-12-06 11:46 世纪老妖 阅读(689) 评论(0) 推荐(0) 编辑

2010年12月1日

摘要: 在注册表的 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\AddIns\VMDebugger.Connect 目录下把LoadBehavior项改为0 阅读全文

posted @ 2010-12-01 13:34 世纪老妖 阅读(233) 评论(0) 推荐(0) 编辑

2010年11月30日

摘要: linq to XML 阅读全文

posted @ 2010-11-30 17:14 世纪老妖 阅读(419) 评论(0) 推荐(0) 编辑

摘要: 在网上看了点资料,自己整理了一下,我感觉要用的话新闻地址,应该用RSS来配这样好用些,o(∩_∩)o 哈哈 阅读全文

posted @ 2010-11-30 09:35 世纪老妖 阅读(1580) 评论(1) 推荐(0) 编辑

2010年11月29日

摘要: 在.NET Framework中,System.Convert类中提供了较为全面的各种类型、数值之间的转换功能。其中的两个方法可以轻松的实现各种进制的数值间的转换:Convert.ToInt32(string value, int fromBase):可以把不同进制数值的字符串转换为数字,其中fromBase参数为进制的格式,只能是2、8、10及16:如Convert.ToInt32(”0010”,2)执行的结果为2;Convert.ToString(int value, int toBase):可以把一个数字转换为不同进制数值的字符串格式,其中toBase参数为进制的格式,只能是2、8、10 阅读全文

posted @ 2010-11-29 16:54 世纪老妖 阅读(653) 评论(0) 推荐(0) 编辑

摘要: 经过对上一篇文章,代码的二次开发得到了线面的这个方法然后,我们定义在一个网站,中定义监听(Global.asax)这样就可以啦!可以接受N次的连接啦!o(∩_∩)o 阅读全文

posted @ 2010-11-29 16:02 世纪老妖 阅读(8497) 评论(0) 推荐(0) 编辑