上一页 1 2 3 4 5 6 7 ··· 12 下一页
  2011年9月9日
摘要: 问题症状:打开CHM文件,左边目录齐全,可右边边框里却是无法显示网页。 解决方法:方法一:修改注册表 1)新建一个文本文件2)添加如下内容:REGEDIT4[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp][HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]"Max... 阅读全文
posted @ 2011-09-09 09:39 Peter Zhang 阅读(442) 评论(0) 推荐(0) 编辑
  2011年9月8日
摘要: (1)同一个协定中不能存在两个名称相同的操作 WCF 服务契约中的操作名称不能重复,如果有重载的话需要为重载的操作起一个别名,如以下代码: /// <summary>/// 通用契約/// </summary>[ServiceContract]public interface ICommon{ [OperationContract] string GetAuthorName(stri... 阅读全文
posted @ 2011-09-08 14:23 Peter Zhang 阅读(640) 评论(0) 推荐(0) 编辑
  2011年8月22日
摘要: 优点:开放源代码,强大的自定义功能,能压缩多种资源,能完美支持各种ajax框架!缺点:使用复杂,仅支持asp.net2.0或以上版本!http://www.codeproject.com/KB/aspnet/httpcompression.aspx 将DC.Web.HttpCompress.dll放到网站项目的bin目录,再按如下增加及修改项目的web.config <configSectio... 阅读全文
posted @ 2011-08-22 13:23 Peter Zhang 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 工作中要把一个项目迁移到另外的svn目录中,遇到一个问题,需要先把原来的.svn删除,然后再增加到新的svn中,开始手动删除,但是发现太耗时耗力了,网上搜了几种删除的方法,自己都试了一遍,总结了一下,写出来备忘。 一、在Dos窗口中运行如下命令 for /r <你项目的路径> %i in (.svn) do rd /s /q %i二、将“Delete SVN Folders”操作添加到右击菜单中建... 阅读全文
posted @ 2011-08-22 10:09 Peter Zhang 阅读(216) 评论(0) 推荐(0) 编辑
  2011年8月17日
摘要: 存储过程中使用了类似如下语句: SELECT col INTO v_col FROM t_table 当查询不到记录时,会出现“数据未发现”的异常 解决方法: (1)使用MAX函数 SELECT MAX(col) INTO v_col FROM t_table (2) 使用异常处理 BEGIN SELECT col INTO v_col FROM t_table; EXCEPTION WHEN N... 阅读全文
posted @ 2011-08-17 14:26 Peter Zhang 阅读(5948) 评论(0) 推荐(0) 编辑
摘要: INITCAP() 假设c1为一字符串.函数INITCAP()是将每个单词的第一个字母大写,其它字母变为小写返回. 单词由空格,控制字符,标点符号等非字母符号限制. select initcap('hello world') from dual; 结果 INITCAP('HE ----------- Hello World select initcap('汉ello world,汉ellowor... 阅读全文
posted @ 2011-08-17 14:20 Peter Zhang 阅读(16500) 评论(0) 推荐(0) 编辑
摘要: 报错截图: 当前解决方案: Automatic statistics 含义:When you execute a statement in a SQL Window or in a Test Window, PL/SQL Developer will automatically generate a statistic report of this execution. One condition... 阅读全文
posted @ 2011-08-17 10:03 Peter Zhang 阅读(1382) 评论(0) 推荐(0) 编辑
  2011年8月16日
摘要: 加入UpdatePanel后导出EXCEL出错,需要在UpdatePanel的Trigger标记中加入 <asp:PostBackTrigger ControlID="btnExport" /> 使用 PostBackTrigger 控件可使 UpdatePanel 内部的控件导致回发,而不是执行异步回发。 完整代码如下 <asp:UpdatePanel ID="updatePanelExpor... 阅读全文
posted @ 2011-08-16 10:35 Peter Zhang 阅读(339) 评论(0) 推荐(0) 编辑
  2011年8月14日
摘要: 错误: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in Aja... 阅读全文
posted @ 2011-08-14 22:05 Peter Zhang 阅读(577) 评论(0) 推荐(0) 编辑
摘要: doc.createStyleSheet() invalid argument exception Internet Explorer (IE for short) imposes some CSS file limitations that may directly affect page rendering. Below is a list of known CSS file limitati... 阅读全文
posted @ 2011-08-14 09:54 Peter Zhang 阅读(913) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页