摘要: privatevoidDataGridView_DataBindingComplete(objectsender,DataGridViewBindingCompleteEventArgse){foreach(DataGridViewRowrowinDataGridView.Rows){row.HeaderCell.Style.Alignment=DataGridViewContentAlignment.MiddleRight;row.HeaderCell.Value=(row.Index+1).ToString();}} 阅读全文
posted @ 2012-07-27 16:33 说不得 阅读(311) 评论(0) 推荐(0) 编辑