Bruce Xiao 的程序生活

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2006年10月11日

摘要: DataGrid列头固定并不需要非常麻烦,在我看来,只需要写一个样式即可。 .FixedHead { position:relative; top:expression(this.offsetParent.scrollTop); } .FixedDiv { height:100px; overflow-y:scroll; }然后在DataGrid的里引用此样式 阅读全文
posted @ 2006-10-11 18:50 Bruce Xiao 阅读(329) 评论(0) 推荐(0) 编辑

摘要: public void SetDataGridColor(System.Web.UI.WebControls.DataGrid dg,int Col) { //設置顯示已刪除記錄最後一列 //DataGrid dg = this.dginfoHeader; int cc=dg.Items.Count; //bool flg =true; //DataGrid中第一行... 阅读全文
posted @ 2006-10-11 18:42 Bruce Xiao 阅读(175) 评论(0) 推荐(0) 编辑