摘要: Please use tool CorFlags.exe to view the header of the DLL to identifywhich target platform it is compiled to. Following are the instructions:1. Open Visual Studio command prompt.2. Type "CorFlags.exe <Assembly File Path>".3. You will see its output like this:Version : v2.0.50727CLR 阅读全文
posted @ 2011-09-26 16:52 chinachen 阅读(971) 评论(1) 推荐(0) 编辑
摘要: --完整备份Backup Database NorthwindCSTo disk='G:\Backup\NorthwindCS_Full_20070908.bak'--差异备份Backup Database NorthwindCSTo disk='G:\Backup\NorthwindCS_Diff_20070908.bak'With Differential--日志备份,默认截断日志Backup... 阅读全文
posted @ 2010-10-18 14:18 chinachen 阅读(1639) 评论(0) 推荐(0) 编辑
摘要: 1.The basic databaseHandler先看代码:[代码]databaseHandler 是连接sqlite最基本类。当 open()函数被调用时,android会创建一个新的数据库,并命名为myfancydatabase且数据库文件路径是 /data/data/你的包名/databases/.2.Copying from assets to database path把已有的数据库... 阅读全文
posted @ 2010-09-11 15:00 chinachen 阅读(4091) 评论(0) 推荐(0) 编辑
摘要: //存放Vector实例privateList<Vector>_vectors;publicList<Vector>Vectors{get{if(null==_vectors){_vectors=newList<Vector>();}return_vectors;}}///<summary>///返回或者设置第index条向量///</summ... 阅读全文
posted @ 2010-08-03 14:04 chinachen 阅读(610) 评论(0) 推荐(0) 编辑
摘要: get是读取属性时进行的操作,set是设置属性时进行的操作。定义一个属性如果只有get,这个属性就是只读的。同样,只有set,属性就是只写的,当然只写的属性是没有任务意义的。假设类是一个银行,既能存钱也能取钱.[代码]m_money 就像银行里的自动存取款机,你看不见里面的money,但你能用set(存钱),用get(取钱)。m_money是一个私有字段,是封装在类中的,类以外的程序不能直接访问... 阅读全文
posted @ 2010-08-03 09:51 chinachen 阅读(504) 评论(0) 推荐(1) 编辑
摘要: [代码]http://www.cnblogs.com/yuanhuaming/archive/2010/02/18/1669184.html2. 多按钮提交http://www.cnblogs.com/wuchang/archive/2010/01/29/1658916.html3.get setGET与SET用法指南get是读取属性时进行的操作,set是设置属性时进行的操作。定义一个属性如果只有... 阅读全文
posted @ 2010-08-01 16:19 chinachen 阅读(482) 评论(0) 推荐(0) 编辑
摘要: windows运行命令大全winver 检查Windows版本wmimgmt.msc 打开Windows管理体系结构(wmi)wupdmgr Windows更新程序wscript Windows脚本宿主设置write 写字板winmsd 系统信息wiaacmgr 扫描仪和照相机向导winchat xp自带局域网聊天mem.exe 显示内存使用情况msconfig.exe 系统配置实用程序mplay... 阅读全文
posted @ 2010-05-02 11:28 chinachen 阅读(398) 评论(0) 推荐(0) 编辑
摘要: META标签,是HTML语言head区的一个辅助性标签。在几乎所有的page里,我们都可以看到类似下面这段html代码:----------------------------<head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>-------------... 阅读全文
posted @ 2010-04-26 12:26 chinachen 阅读(336) 评论(1) 推荐(0) 编辑
摘要: 因项目(PORTAL)需求, 需要抓取特定页面数据,刚做完, 贴出来与大家分享、探讨。。。希望可以得到支持与优化。不多说 开正题:因项目(PORTAL)需求, 需要抓取特定页面数据, 也就是抓去某个页面新闻标题和链接 放到portal上来刚做完, 贴出来与大家分享、探讨。。。不多说 开正题:用的是Visual Studio 2010,下面是抓取页面并分析数据 的代码提取出来的数据样例:------... 阅读全文
posted @ 2010-04-01 13:57 chinachen 阅读(3007) 评论(9) 推荐(1) 编辑
摘要: C#中indexof和substring函数用法C#中indexof和substring函数用法2008-04-01 16:39indexof() :在字符串中从前向后定位字符和字符串;所有的返回值都是指在字符串的绝对位置,如为空则为- 1string test="asdfjsdfjgkfasdsfsgfhgjgfjgdddd";test.indexof('d') =2 //从前向后 定位 d 第... 阅读全文
posted @ 2010-03-30 13:50 chinachen 阅读(916) 评论(0) 推荐(0) 编辑