摘要: 1、if (!IsPostBack) { DBindFilter(); this.gvwData.Attributes.Add("SortExpression", "HouseID"); this.gvwData.Attributes.Add("SortDirection", "ASC"); GridViewDataBind(); chklColumns.Visible = !IsPostBack; //设置“显示字段”的下拉属性 } else { chklColumns.Visible = IsPostBack; 阅读全文
posted @ 2012-06-26 18:47 jsping68 阅读(2721) 评论(0) 推荐(0) 编辑