SQL中的树型编号处理
摘要:1在朋友的程序里面看见这段代码,用于treeview生成新编号的 编码#region 编码 /**//// 数据表 /// 父id /// 通过以上参数求出下级目录的id public string Id(string table,string parentid) { DataSet dbset=new D...
阅读全文
posted @
2006-03-30 15:29
kasafuma
阅读(407)
推荐(0)
简单点分页
摘要:写很复杂的存储过程也许效率可能是高一点,但是很复杂,下面是很简单但效率也不错的分页方法: set @ = 'select * from (select Top ' + cast(@Size as varchar(100)) + ' * from (select Top ' + cast((@Page * @Size) as varchar(100)) + ' * from produ...
阅读全文
posted @
2006-03-23 20:35
kasafuma
阅读(201)
推荐(0)
微软公开.net源代码,以后学习就方面啦:)我下面贴出来的是INT32和Delegate
摘要:// ==++==// // // Copyright (c) 2002 Microsoft Corporation. All rights reserved.// // The use and distribution terms for this software are contained in the file// named license.txt, whic...
阅读全文
posted @
2006-03-01 00:01
kasafuma
阅读(3622)
推荐(0)