上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页
摘要: 抓取页面异常处理办法 public static string GetHtmlTest(string URI) { string fullhtml = null; while (true) { ... 阅读全文
posted @ 2015-02-06 11:21 程序员徐坤 阅读(1168) 评论(0) 推荐(0) 编辑
摘要: 今天在项目中需要做远程数据加载并渲染页面,直到开发阶段才意识到ajax跨域请求的问题,隐约记得Jquery有提过一个ajax跨域请求的解决方式, 于是即刻翻出Jquery的API出来研究,发现JQuery对于Ajax的跨域请求有两类解决方案,不过都是只支持get方式。分别是JQuery的 jque... 阅读全文
posted @ 2015-02-04 14:53 程序员徐坤 阅读(340) 评论(0) 推荐(0) 编辑
摘要: SQL的自增列挺好用,只是开发过程中一旦删除数据,标识列就不连续了 写起来 也很郁闷,所以查阅了一下标识列重置的方法 发现可以分为三种:--- 删除原表数据,并重置自增列truncate table tablename --truncate方式也可以重置自增字段--重置表的自增字段,保留数据DBC... 阅读全文
posted @ 2015-01-27 15:05 程序员徐坤 阅读(844) 评论(0) 推荐(0) 编辑
摘要: 2.求以下日期SQL:昨天 selectconvert(varchar(10),getdate()-1,120)明天selectconvert(varchar(10),getdate()+1,120)最近七天select*fromtbwhere时间字段>=convert(varchar(10),ge... 阅读全文
posted @ 2015-01-27 11:06 程序员徐坤 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 解决关于jquery中$.get()方法总是报“HierarchyRequestError: Node cannot be inserted at the specified point in the hierarchy”错的方法 今天在看《jquery基础教程(第三版)》第十章的时候,运行随书下... 阅读全文
posted @ 2015-01-08 11:20 程序员徐坤 阅读(4091) 评论(0) 推荐(0) 编辑
摘要: select year(createdate) 年,month(createdate) 月,count(1) from public_cms_arcwhere (userid in (select id from cms_admin where userid='392') or userid='39... 阅读全文
posted @ 2014-12-17 11:53 程序员徐坤 阅读(6844) 评论(0) 推荐(0) 编辑
摘要: 如何查看SQL Server 2008的版本及位数及SP版本:登录SQL Server,找到“SQL查询分析器”,输入“Select @@version”,运行,即可看出版本及SP版本。该方法适用于所有SQL Server 版本。徐小闩个人博客 http://blog.wonima.com 阅读全文
posted @ 2014-11-10 16:40 程序员徐坤 阅读(1636) 评论(0) 推荐(0) 编辑
摘要: 多说【最近访客】JS插件可以显示近期访问过你的博客并且已经使用向多说授权过的社交网络账号登录的用户头像,效果如下图所示。最近访客JS插件的添加步骤如下:1. 添加多说公用JS代码,每个页面只需添加一次。2. 在需要显示最近访客的位置添加class="ds-recent-visitors"的容器,比如... 阅读全文
posted @ 2014-11-06 14:44 程序员徐坤 阅读(2224) 评论(0) 推荐(0) 编辑
摘要: EventType clr20r3, P1 ggreadcard.exe, P2 1.0.0.0, P3 51d3d283, P4 zljy.common, P5 1.0.0.0, P6 4fc6c236, P7 31, P8 28, P9 system.nullreferenceexception... 阅读全文
posted @ 2014-11-04 13:37 程序员徐坤 阅读(2231) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Text;namespaceConsoleApplication{classChineseCode{publicstaticvoidMain(){//获取GB2312编码页(表)Encodinggb=Encoding.GetEncoding("gb23... 阅读全文
posted @ 2014-10-29 10:12 程序员徐坤 阅读(1729) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页