代码和存储过程是针对AspNetPager。其中,使用环境为:VS2005 + sqlserver2005。 CS代码如下: } 下面是存储过程,很简单: -- the pager procedure-- zyl-- version: 2.0CREATE PROCEDURE up_pager @select_total_sql nvarchar(1000), @select_sql nvarchar(2000), @total int outputas exec sp_executesql @select_sql exec @total = sp_executesql @select_total_sql return @@rowcountGO 上面的代码是参照一位师兄的代码写的,在此表示感谢。 相关文章: 2022-02-26 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-02-03 2021-12-21 2021-12-10