上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页
摘要: 用javascript 禁止右键,禁止复制,禁止粘贴2007-03-01 18:36有时自己辛苦半天做的网页,尤其是一些javascript特效,很容易被人利用查看源文件而复制。那么如何才能防止被人查看源代码呢?我们可以利用event.button特性来做到。下表是event.button属性的可能取值及含义:0没按键1按左键2按右键3按左和右键4按中间键5按左和中间键6按右和中间键7按所有的键参照上表,我们可以在body和/body之间加入如下语句:ScriptLangvage=javascriptfunctionClick(){if(event.button!=1){alert 阅读全文
posted @ 2010-12-20 19:41 Alan Yang 阅读(382) 评论(1) 推荐(0) 编辑
摘要: SSRS2008报表导出到EXCEL正常,打印后折行。简单解决方案是直接调整SIZE和Margin。微软发布的SQL SERVER 2008 SP2 宣称已经修复此问题,下面是MS原帖,再下面是这之前喷微软的口水贴。MS原帖: FIX: The margins are not retained in a report when the report is exported to Excel on a server that is running SQL Server 2008, and then you preview the report in ExcelConsider the follo 阅读全文
posted @ 2010-12-14 11:47 Alan Yang 阅读(992) 评论(0) 推荐(0) 编辑
摘要: This property has one of the values in the following table. The symbol "$" is the CurrencySymbol, the symbol "-" is the NegativeSign, and n is a number.Value Associated Pattern 0 ($n) 1 -$n 2 $-n 3 $n... 阅读全文
posted @ 2010-11-30 15:16 Alan Yang 阅读(167) 评论(0) 推荐(0) 编辑
摘要: I’ve been founding and helping run technology companies since 1999. My latest company isfabulis.com. Here are 57 lessons I’ve learned along the way. I could have listed 100+ but I didnR... 阅读全文
posted @ 2010-11-29 10:55 Alan Yang 阅读(275) 评论(0) 推荐(0) 编辑
摘要: PORTING A SQL SERVER REPORTING SERVICES 2005 REPORT DIRECTLY TO PDF OR EXCELExporting a SQL Server Reporting Services 2005 (SSRS) Report Directly to PDF/Excel is a handy way of generating high quality... 阅读全文
posted @ 2010-11-04 11:15 Alan Yang 阅读(325) 评论(0) 推荐(0) 编辑
摘要: some problem with .net 2.0:In the application, a form subscribes a RunWorkerCompleted event of aBackgroundWorker. Suppose RunWorkerCompleted() is running in UI thread sosome code inside it will do for... 阅读全文
posted @ 2010-11-02 17:30 Alan Yang 阅读(303) 评论(0) 推荐(0) 编辑
摘要: Textbox.DataElementOutputSQL Server 2008 R2TheTextbox.DataElementOutputelement specifies whether aTextboxshould appear in a data (XML, CSV) rendering. This element is optional. If this element is pres... 阅读全文
posted @ 2010-10-13 16:05 Alan Yang 阅读(559) 评论(0) 推荐(0) 编辑
摘要: Visual Studio Build EventsSome projects require that preparatory steps be taken prior to compiling the code. Others require processes to be executed after a successful build. Visual Studio's Build Eve... 阅读全文
posted @ 2010-09-07 16:36 Alan Yang 阅读(999) 评论(0) 推荐(0) 编辑
摘要: 作者:Sunny Peng出处:http://www.cnblogs.com/psunny/1. 设置内存选项2. 实用文件及文件组3. 调整temp数据库的文件属性4. 日期概念理解中的一些测试5. CINVERT在日期转换中的使用示例6. SET DATEFORMAT对日期处理的影响7. SET LANGUAGE对日期处理的影响示例8. 日期格式化处理9. 日期推算处理10. 特殊日期加减函数... 阅读全文
posted @ 2010-09-06 18:06 Alan Yang 阅读(261) 评论(3) 推荐(0) 编辑
摘要: I met a wired problem when using SSRS in vs2008.In the report page header, a textbox call a reportItem which connected to DB to retrive data in page body. The problem is the textbox shows blank in pag... 阅读全文
posted @ 2010-09-01 11:07 Alan Yang 阅读(341) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页