Sun_china

交流更多,收获更多?

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页

2009年4月9日 #

摘要: 键入以下内容: sn -k "C:\GACKey\GACkey.snk"  将生成一个密钥,但是它与项目的程序集尚无关联。要建立此关联,请在 Visual Studio .NET 解决方案资源管理器中双击 AssemblyInfo.cs 文件。此文件具有一个程序集属性列表,默认情况下,在 Visual Studio .NET 中创建项目时将包括这些属性。在代码中修改“AssemblyK... 阅读全文
posted @ 2009-04-09 10:29 Sun_china 阅读(344) 评论(0) 推荐(0) 编辑

2009年2月13日 #

摘要: http://www.yuanma.org/data/2006/1221/article_1985.htm and http://www.lucene.com.cn/about.htm 阅读全文
posted @ 2009-02-13 08:40 Sun_china 阅读(247) 评论(0) 推荐(0) 编辑

2008年12月30日 #

摘要: 我们一起来做个示例,在.NET中新建一个类,并在这个类里新建一个方法,然后在SQL Server中调用这个方法。按照微软所述,通过宿主 Microsoft .NET Framework 2.0 公共语言运行库 (CLR),SQL Server 2005显著地增强了数据库编程模型。 这使得开发人员可以用任何CLR语言(如C#、VB.NET或C++等)来写存储过程、触发器和用户自定义函数。 我们如何实... 阅读全文
posted @ 2008-12-30 14:07 Sun_china 阅读(282) 评论(0) 推荐(0) 编辑

摘要: 项目要求:项目改版后,数据库的数据结构不一样,要把原有的数据库中的数据合并到新的数据库中时,我们可以使用sqlserver中的openrowset函数来实现。 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->--不同服务器,不... 阅读全文
posted @ 2008-12-30 10:24 Sun_china 阅读(513) 评论(0) 推荐(0) 编辑

2008年11月26日 #

摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> //判断用户是否重复登录 string key = TextBox1.Text; //用户名文本框设为cache关键字 string uer = Co... 阅读全文
posted @ 2008-11-26 14:41 Sun_china 阅读(622) 评论(0) 推荐(0) 编辑

2008年10月23日 #

摘要: TRUNCATE TABLE 和不带 WHERE 的 DELETE 功能是一样的,都是删除表中的所有数据,不过 TRUNCATE TABLE 速度更快,占用的日志更少,这是因为 TRUNCATE TABLE 直接释放数据页并且在事务日志中也只记录数据页的释放,而 DELETE 是一行一行地删除,在事务日志中要记录每一条记录的删除。 那么可不可以用 TRUNCATE TABLE 代替不带 WHER... 阅读全文
posted @ 2008-10-23 15:14 Sun_china 阅读(1132) 评论(2) 推荐(0) 编辑

2008年10月10日 #

摘要: --虚拟字段,asortid,且1是它的值,比在表上虚拟个字段,扩展性更好,在做表的差值运算时,not exists 要比 not in 的效率高 --not EXISTSselect aRealID as aID,aNameMain,aAddTime,1 as aSortID from dbo.ArticleShow where aSiteID=2 and aIsCommendSite=1uni... 阅读全文
posted @ 2008-10-10 11:26 Sun_china 阅读(472) 评论(0) 推荐(1) 编辑

2008年9月28日 #

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> 阅读全文
posted @ 2008-09-28 14:55 Sun_china 阅读(749) 评论(0) 推荐(0) 编辑

2008年9月12日 #

摘要: 【大 中 小】 阅读全文
posted @ 2008-09-12 14:11 Sun_china 阅读(164) 评论(0) 推荐(0) 编辑

2008年9月11日 #

摘要: visual studio 2005 service pack 1 正式版发行了,安装了vs2005比以前好用多了 阅读全文
posted @ 2008-09-11 14:13 Sun_china 阅读(291) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页