2007年3月26日

GridView 隐藏某中得些列.并在HeadText上显示相关的信息

摘要: privatevoidShowInformation()...{DataTabledt=oss.GetOutStoreSearchResult(oss);bb=this.gvOutStore.ControlStyle.Height;if(dt.Rows.Count==0)...{AddDummyData(dt);//如果没有数据时,添加一列空值for(inti=1;i<gvOutStore.Columns.Count;i++)...{this.gvOutStore.Columns[i].Visible=false;//这个是把除第一列以外得所有列都隐藏起来}this.gvOutStore 阅读全文

posted @ 2007-03-26 00:44 小土泥 阅读(267) 评论(0) 推荐(0) 编辑

导航