会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
天天向上
基于.Net的应用系统开发,智能物联网硬件开发。
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
10
下一页
2010年6月24日
sql 2008安装时问题提示SA账号密码不符合强密码要求
摘要: 先按Windows身份验证方式安装, 安装完后再改成混合方式, 重启服务, 执行下列语句: ALTER LOGIN sa ENABLE ;GOAlter login sa with password = 'newpwd' unlock, check_policy = off, check_expiration = offGO
阅读全文
posted @ 2010-06-24 14:28 Aricc
阅读(13217)
评论(0)
推荐(0)
2010年6月22日
查询sql数据库中表占用的空间大小
摘要: 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
阅读(337)
评论(0)
推荐(0)
2010年5月5日
google maps根据经纬度计算两点距离的函数
摘要: 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
阅读(1543)
评论(1)
推荐(0)
2010年4月7日
延时启动程序【C#】
摘要: 很有用处的小东西。网上也有不少类似的程序。不过,既然不复杂,就自己写一个吧。点击下载
阅读全文
posted @ 2010-04-07 08:28 Aricc
阅读(1794)
评论(2)
推荐(0)
2010年3月30日
[Ext]在按钮栏添加Checkbox
摘要: this.buttonAlign = 'left';this.buttons.unshift({ xtype: 'checkbox', boxLabel: 'Test'}, '->');
阅读全文
posted @ 2010-03-30 15:58 Aricc
阅读(253)
评论(0)
推荐(0)
2010年3月18日
该死的QQ医生惹的祸
摘要: 最近几天发现,只要一开IE,CPU就100%,不管你打开的是哪个网页,所以可以排除是特定页面的问题。而用同样是IE内核的Sogou浏览器就没有问题,这也证明了不是页面的问题。 今天中午突然想起来,最近“被”安装了QQ医生,是不是它的问题? 然后卸载,测试,问题消失了! 在这里,我郑重的骂一句:狗日的腾讯。
阅读全文
posted @ 2010-03-18 19:26 Aricc
阅读(171)
评论(0)
推荐(0)
2010年1月31日
自定义配置节示例(.NET 2.0)
摘要: 在2.0中已经不建议使用 IConfigurationSectionHandler 接口来实现自定义配置节,而是改用创建 ConfigurationSection 的派生类来创建自定义配置节。现在我希望的配置文件的结构如下:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlight...
阅读全文
posted @ 2010-01-31 13:34 Aricc
阅读(328)
评论(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
阅读(243)
评论(0)
推荐(0)
[转]Custom Configuration Section Handler in .NET 2.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
阅读(263)
评论(0)
推荐(0)
2010年1月29日
SOCKET错误代码表
摘要: 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
阅读(7937)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
10
下一页
公告