摘要:
项目遇到,百度下,如下:protectedvoidGVList_RowDataBound(objectsender,GridViewRowEventArgse) { //隐藏不必要的列 if((e.Row.RowType==DataControlRowType.DataRow)||(e.Row.RowType==DataControlRowType.Header)||(e.Row.RowType==DataControlRowType.Footer)) { e.Row.Cells[0].Visible=false; e.Row.Cells[3].Visible=false; } }在RowCr 阅读全文