- 博客(6)
- 收藏
- 关注
原创 Repeater自定义分页排序(2)
分页加排序的存储过程:--得到总记录数if exists(select 1 from sys.objects where name = GetProductsCount and type = P) drop proc GetProductsCountgoCREATE PROCEDURE GetProductsCountas select count(*) f
2008-07-19 13:41:00 3784
原创 Repeater自定义分页(1)
Repeater自定义分页,使用的存储过程如下--取得总记录数if exists(select 1 from sys.objects where name = GetProductsCount and type = P) drop proc GetProductsCountgoCREATE PROCEDURE GetProductsCountas selec
2008-07-15 20:39:00 2668 3
原创 GridView自定义分页的四种存储过程
1. 为什么不使用GridView的默认分页功能 首先要说说为什么不用GridView的默认的分页功能,GridView控件并非真正知道如何获得一个新页面,它只是请求绑定的数据源控件返回适合规定页面的行,分页最终是由数据源控件完成。当我们使用SqlDataSource或使用以上的代码处理分页时。每次这个页面被请求或者回发时,所有和这个SELECT语句匹配的记录都被读取并存储到一个内部的Da
2008-07-14 00:32:00 15018 11
原创 使用XmlDocument创建XML文档及增加删除更新节点
using System;using System.Windows.Forms;using System.Xml;namespace XMLDemo{ public partial class FrmDOM : Form { public FrmDOM() { InitializeComponent();
2008-07-08 07:08:00 20804 6
原创 使用XmlTextWriter与XmlTextReader访问创建和读取XML文件
using System;using System.Text;using System.Windows.Forms;using System.Xml;namespace XMLDemo{ public partial class FrmSAX : Form { public FrmSAX() { Initial
2008-07-08 06:58:00 2305 5
原创 DataList绑定数据到泛型类(Dictionary)
using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.W
2008-07-05 09:50:00 3764 4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人