2007年2月27日
摘要:
一共涉及三个类分别为:数据访问类DBObject.cs、对应功能针对数据库操作类IRMNewsInteDB.cs、数据抓取类SpiderDispose.cs数据访问类:DBObject.cs 数据访问基类Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->...
阅读全文
posted @ 2007-02-27 10:39
Gary.han
阅读(3266)
推荐(0)
2007年2月7日
摘要:
按照自己定义的数字进行标识列初始化Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->--删除表中数据,下一条记录的标识ID为1Truncate Table 表名--下一条记录的标识ID为31DBCC CHECKIDENT (表名, RESEED, 30)...
阅读全文
posted @ 2007-02-07 14:24
Gary.han
阅读(845)
推荐(0)
2007年2月1日
摘要:
语法:Update a表 Set a表.字段=b表.字段 from a,b(注:b表可以是从某表中过滤查询生成的临时表) where 外键可以关联的字段 and 条件Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->update CorpInfoset ...
阅读全文
posted @ 2007-02-01 11:33
Gary.han
阅读(4089)
推荐(0)
2007年1月29日
摘要:
主要介绍MSSQL:http://www.chinahtml.com/databases/2/
阅读全文
posted @ 2007-01-29 11:12
Gary.han
阅读(470)
推荐(0)
摘要:
丰富的数据类型 Richer Data Types 1、varchar(max)、nvarchar(max)和varbinary(max)数据类型最多可以保存2GB的数据,可以取代text、ntext或image数据类型。 事例代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeH...
阅读全文
posted @ 2007-01-29 11:03
Gary.han
阅读(423)
推荐(0)
2007年1月25日
摘要:
几个获取简单HTML标记间内容Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> //=====================Begin1======================== //试验字符串 ...
阅读全文
posted @ 2007-01-25 17:54
Gary.han
阅读(1940)
推荐(0)
2007年1月12日
摘要:
在已有的winform项目的属性中更改: 通用属性--〉常规--〉输出类型为:类库 重新编译,即在bin目录下找到DLL文件 然后通过另一个C/S程序引用DLL就可以了。
阅读全文
posted @ 2007-01-12 14:32
Gary.han
阅读(934)
推荐(0)
2006年12月28日
摘要:
获取索引约束及归属列Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->--获取某表的所有索引,包括索引归属列名sp_statistics 'corpinfo'--获取索引与索引归属列以及描述信息sp_helpindex 'corpinfo'--获取某表的...
阅读全文
posted @ 2006-12-28 15:00
Gary.han
阅读(752)
推荐(0)
2006年12月21日
摘要:
SQL调用正则表达式Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->create function dbo.regexReplace(@source varchar(5000), --原字符串@regexp varchar(1000), -...
阅读全文
posted @ 2006-12-21 16:01
Gary.han
阅读(704)
推荐(0)
2006年12月20日
摘要:
DataSet对XML进行生成、更新、添加、删除等操作Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> //创建一个数据集 DataSet dsTradeNews = new DataSet(); ...
阅读全文
posted @ 2006-12-20 18:16
Gary.han
阅读(3096)
推荐(0)