02 2012 档案

摘要:80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc. Reducing the number of components in turn reduces the number of HTTP requests required to render the page. This is the ke 阅读全文
posted @ 2012-02-14 15:10 toeasy 阅读(146) 评论(0) 推荐(0)
摘要:private DataTable CreateTable(DataView obDataView) { if (null == obDataView) { throw new ArgumentNullException ("DataView", "Invalid DataView object specified"); } DataTable obNewDt = obDataView.Table.Clone(); int idx = 0; string[] strColNames = new string[obNewDt.Columns.Count]; 阅读全文
posted @ 2012-02-10 11:10 toeasy 阅读(209) 评论(0) 推荐(0)
摘要:折腾了一上午,就是搞不定这个最小高度 min-height:的问题,因为min-height:只在IE7\FF中起作用。至于这个IE6死活就是不认。而我这个页面又必需得用这个最小高度来定。页面是二栏的左右分,左栏算是导航菜单固定不变,长约1160PX,右边是产品的详细信息且是动态的,可长可短。左右栏中间是一条1PX灰色的分隔线,就是这根分隔线倒底是定在左栏的右边框上,还是定在右栏的左边框上,问题有点头痛。因为左边定死1160PX,右边是自由伸展。如果定在左栏上,右栏动态内容长度大于1160时这根线是不会跟着做延伸的。那好,那就定在右栏上,但如果右栏的动态内容小于左栏1160时,这根线也是不会自 阅读全文
posted @ 2012-02-10 09:55 toeasy 阅读(168) 评论(0) 推荐(0)
摘要:这阵子一直被一个问题困扰,我的navicat连接到CNSS数据库查看UTF8中文显示正常,可是当数据下载到我本机的时候却显示为乱码了,而在网页上显示又正常,据我分析这至少证明一点,就是数据格式是正确的,一定是navicat这个工具哪里出了问题了,但是查看数据库属性却是UTF8正确的,再查看连接属性,也是用的默认的UTF8连接,今天刚好换了电脑,重新装了系统和所有的工具,这下好了,查看CNSS的数据库也乱码了,看来这次不解决也不行了。Google了下,看了几篇关于乱码的文章,没发现有一篇能具体描述我这个问题的,不过有一篇提到了连接属性的问题,可是帮了我大忙。最终居然彻底解决了这个问题,太帮了!下 阅读全文
posted @ 2012-02-08 20:59 toeasy 阅读(1230) 评论(0) 推荐(0)