名优新,您的名优新
摘要: 动态绑定的GridView由于列数不固定,而列又太多,是要自定设置gridView的宽度//在GridView的行数据绑定完的事件中设置 protected void gvObjectList_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow || e.Row.RowType == DataControlRowType.Header) { //保持列不变形 for (int i = 0; i " + e.Row.Cells[i].T 阅读全文
posted @ 2013-09-27 13:42 Eight戒 阅读(1108) 评论(0) 推荐(1)
名优新,您的名优新