上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 1. exec sp_spaceused '表名' --(SQL统计数据,大量事务操作后可能不准)2. exec sp_spaceused '表名', true --(准确的表空间大小,但可能会花些统计时间)3. exec sp_spaceused -- (数据库大小查询)4. exec sp_MSforeachtable "exec sp_spaceused '?'" --(所有用户表空间表小,... 阅读全文
posted @ 2010-06-22 08:37 Aricc 阅读(327) 评论(0) 推荐(0) 编辑
摘要: Latitude 纬度 Longitude 经度 google maps脚本里根据经纬度计算两点距离的函数 private const double EARTH_RADIUS = 6378.137;private static double rad(double d){ return d * Math.PI / 180.0;} public static double GetDistance(... 阅读全文
posted @ 2010-05-05 09:44 Aricc 阅读(1517) 评论(1) 推荐(0) 编辑
摘要: 很有用处的小东西。网上也有不少类似的程序。不过,既然不复杂,就自己写一个吧。点击下载 阅读全文
posted @ 2010-04-07 08:28 Aricc 阅读(1770) 评论(2) 推荐(0) 编辑
摘要: this.buttonAlign = 'left';this.buttons.unshift({ xtype: 'checkbox', boxLabel: 'Test'}, '->'); 阅读全文
posted @ 2010-03-30 15:58 Aricc 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 最近几天发现,只要一开IE,CPU就100%,不管你打开的是哪个网页,所以可以排除是特定页面的问题。而用同样是IE内核的Sogou浏览器就没有问题,这也证明了不是页面的问题。 今天中午突然想起来,最近“被”安装了QQ医生,是不是它的问题? 然后卸载,测试,问题消失了! 在这里,我郑重的骂一句:狗日的腾讯。 阅读全文
posted @ 2010-03-18 19:26 Aricc 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 在2.0中已经不建议使用 IConfigurationSectionHandler 接口来实现自定义配置节,而是改用创建 ConfigurationSection 的派生类来创建自定义配置节。现在我希望的配置文件的结构如下:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlight... 阅读全文
posted @ 2010-01-31 13:34 Aricc 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 1、属性大小写问题 比如有这样一个配置节,其中有三个属性name,ip,port <Server name="server1" ip="192.168.0.11" port="80" /> 那么对应的类要跟这个名字完全匹配,包括大小写。 public class Server : ConfigurationElement{ [ConfigurationProperty("name",... 阅读全文
posted @ 2010-01-31 13:13 Aricc 阅读(235) 评论(0) 推荐(0) 编辑
摘要: I recently had to deal with creating custom sections in the web/app.config file. In the .NET 1.x realm, I had to create a section handler which implements public class CustomSectionHandler: IConfigura... 阅读全文
posted @ 2010-01-31 10:20 Aricc 阅读(248) 评论(0) 推荐(0) 编辑
摘要: SOCKET错误代码表. Socket error 0 - Directly send error Socket error 10004 - Interrupted function call Socket error 10013 - Permission denied Socket error 10014 - Bad address Socket error 10022 - Invali... 阅读全文
posted @ 2010-01-29 12:33 Aricc 阅读(7775) 评论(0) 推荐(0) 编辑
摘要: 项目中需要动态生成一个统计图形,在统计图上用MAP标签生成图形的tooltip,由于图片是通过AJAX方式加载的,每次的图形都不同,则相应的MAP信息也就不同了,于是问题就出现了: 每次更改图片的MAP时(img.useMap = "#mymap"),在我本机都是没问题的,很流畅,但别人的部分机器上就会出现IE假死的情况,甚至崩溃,很是郁闷,今天到Google了一下,发现确实有这个问题,而且仅限... 阅读全文
posted @ 2010-01-25 16:55 Aricc 阅读(865) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页