2007年10月17日

MasterPage自动刷新

摘要: 实现页面自动刷新,页面需继承MasterPage,对Master的头添加Refresh,代码如下: protected void Page_Load(object sender, EventArgs e) { //Update the time lblCurrentTime.Text = DateTime.Now.ToString(... 阅读全文

posted @ 2007-10-17 15:02 海濑 阅读(433) 评论(1) 推荐(0) 编辑

2007年6月27日

Using JavaScript To Select GridView Rows

摘要: Sample Table Used I am actually using Microsoft SQL Server 2005, with the attached DEMO app. You will need to change the Web.Config file to point to your own SQL Server installation. For the GridView ... 阅读全文

posted @ 2007-06-27 09:03 海濑 阅读(894) 评论(0) 推荐(0) 编辑

2007年3月27日

Visual Studio 2005 GridView分页方法

摘要: 1、页面上 … 2、页面后台代码,在Page_Load(…)时执行BindData() #region 绑定案件列表 BindData() /// /// 绑定案件列表 /// private void BindData() { //初始化aspx上的数据源 ... 阅读全文

posted @ 2007-03-27 20:37 海濑 阅读(1458) 评论(1) 推荐(0) 编辑

导航