dataGridViewX操作
private void dataGridView1_RowStateChanged(object sender, DataGridViewRowStateChangedEventArgs e) { e.Row.HeaderCell.Value = string.Format("{0}", e.Row.Index + 1); }
显示行号
posted on 2015-07-12 15:51 HOT SUMMER 阅读(668) 评论(0) 编辑 收藏 举报