philzhou

导航

上一页 1 2 3 4 5 6 7 ··· 12 下一页

2013年7月3日 #

[CSS Hack]解決IE6、IE7、IE8、Firefox的瀏覽器相容性問題!

摘要: 每次調CSS最令人頭痛的就是瀏覽器校正問題,因為每個瀏覽器對CSS的解釋都不太一樣,Firefox本身算是比較照規矩來,處理上比較簡單,但是遇到微軟的IE系列頭就大了,雖然都是IE,但是IE6、IE7、IE8各版本對CSS的解釋又不一樣,就算你本身已經在IE6調整好,但是在IE7看起來又是不一樣,這時a56爆大奖在线娱乐們就得來對各個瀏覽器設定不同的數值來解決版面移位的問題。網路上有非常多關於CSS Hack的教學文章,當然處理方法也有很多種,接下來要跟大家說明的是屬於比較簡單的方法,但是以下的校正確無法通過W3C檢測,雖然無法通過檢測,但是針對各個瀏覽器校正確是有效的喔!目前瀏覽器大宗還是屬於IE6的天下,這 阅读全文

posted @ 2013-07-03 14:30 philzhou 阅读(282) 评论(0) 推荐(0) 编辑

2013年6月26日 #

传递引用类型参数

摘要: 引用类型的变量不直接包含其数据;它包含的是对其数据的引用。当通过值传递引用类型的参数时,有可能更改引用所指向的数据,如某类成员的值。但是无法更改引用本身的值;也就是说,不能使用相同的引用为新类分配内存并使之在块外保持。若要这样做,应使用 ref 或 out 关键字传递参数。为了简单起见,下面的示例使用 ref。示例:通过值传递引用类型下面的示例演示通过值向 Change 方法传递引用类型的参数 arr。由于该参数是对 arr 的引用,a56爆大奖在线娱乐有可能更改数组元素的值。但是,试图将参数重新分配到不同的内存位置时,该操作仅在方法内有效,并不影响原始变量 arr。C#class PassingRefByV 阅读全文

posted @ 2013-06-26 16:55 philzhou 阅读(1008) 评论(0) 推荐(0) 编辑

2013年6月25日 #

JavaScript Array.map

摘要: Array.prototype.map()HistoryEditThis article is in need of a technical review.Table of ContentsSummarySyntaxParametersDescriptionCompatibilityExamplesExample: Pluralizing the words (strings) in an arrayExample: Mapping an array of numbers to an array of square rootsExample: using map genericallyTric 阅读全文

posted @ 2013-06-25 22:59 philzhou 阅读(2855) 评论(0) 推荐(0) 编辑

2013年5月29日 #

Windows Telnet服务端口配置(转)

摘要: 原a56爆大奖在线娱乐地修改telnet服务端端口方法:c:\>tlntadmnconfigport=24telnet服务默认端口为23,此例将该默认端口23修改为为其它未使用的端口远程修改telnet服务端端口方法:c:\>tlntadmnconfig\\192.168.9.1port=23-uadministrator-ppassword注:\\192.168.9.1对方IPport=23要修改为的telnet端口-u指定对方的用户名-p指定对方用户的密码查看当前telnetserver配置C:\Users\wanglei.ITADMIN>tlntadmn以下是localhost上的设置 阅读全文

posted @ 2013-05-29 17:40 philzhou 阅读(4567) 评论(0) 推荐(0) 编辑

2013年4月23日 #

MySql 中文乱码处理

摘要: 通过MySql.Data.dll向MySql发生Sql时如果sql语句中存在中文,那么发送的MySql服务器时就会变成乱码。因为MySQL处理连接时,外部连接发送过来的SQL请求会根据以下顺序进行转换:character_set_client //客户连接所采用的字符集|character_set_connection //MySQL连接字符集|character_set_database //数据库所采用的字符集(表,列)|character_set_results //客户机显示所采用的字符集产生乱码的根本原因在于:1.客户机没有正确地设置client字符集,导致原先的SQL语句被转换成c 阅读全文

posted @ 2013-04-23 21:30 philzhou 阅读(3946) 评论(0) 推荐(0) 编辑

2013年4月13日 #

Learn how to register an assembly in the GAC.

摘要: Learn how to register an assembly in the GAC.1) Create an assembly key file Use the sn.exe tool to create a key file: sn -k StrongNameFile.snk If your path environment variables aren't set, you'll have to go to the C:\Program Files\Microsoft.NET\FrameworkSDK\Bin\ directory to run sn.exe) The 阅读全文

posted @ 2013-04-13 22:22 philzhou 阅读(191) 评论(0) 推荐(0) 编辑

2013年3月19日 #

xmlns + SelectNodes = empty XmlNodeList

摘要: Trying to parse web.config files using SelectNodes, I found that I have two kinds of web.config files on my development PC, one with an xmlns declaration and one without.<configuration><configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">This should not re 阅读全文

posted @ 2013-03-19 15:53 philzhou 阅读(286) 评论(0) 推荐(0) 编辑

2013年3月5日 #

Diff between Infobright and MyIsam

摘要: 1. no index in Infobright ( since table stored as column style data every column is a index).so load data infile .... replace into with primary key doesn't work.2. supporingdata typesinfobright not supports: enum,set, and all the unsigned number type.and decimal max digits number is 18. 阅读全文

posted @ 2013-03-05 23:28 philzhou 阅读(150) 评论(0) 推荐(0) 编辑

2012年12月6日 #

.Net程序集强签名详解

摘要: 强签名:1. 可以将强签名的dll注册到GAC,不同的应用程序可以共享同一dll。2. 强签名的库,或者应用程序只能引用强签名的dll,不能引用未强签名的dll,但是未强签名的dll可以引用强签名的dll。3. 强签名无法保护源代码,强签名的dll是可以被反编译的。4. 强签名的dll可以防止第三方恶意篡改。强签名的方法:1. 有源代码:1.1 使用vs tool command:snk –k mykey.snk 生成签名公钥。1.2 将公钥加入项目中,并设置项目属性,设置签名公钥1.3 重新生成项目。2. 没有源代码。2.1 创建强签名键:sn.exe -k key.snk2.2 反汇编dl 阅读全文

posted @ 2012-12-06 11:46 philzhou 阅读(12387) 评论(0) 推荐(0) 编辑

2012年12月2日 #

Web Browser Control – Specifying the IE Version

摘要: Web Browser Control – Specifying the IE VersionTweet 41 commentsMay 21, 2011 @ 12:06 am- from Hood River, OregonI use the Internet Explorer Web Browser Control in a lot of my applications to display document type layout. HTML happens to be one of the most common document formats and displaying data 阅读全文

posted @ 2012-12-02 15:11 philzhou 阅读(1573) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 12 下一页