摘要:
gridview 设置某个单元格焦点this.gridView1.ClearSelection(); this.gridView1.Focus(); this.gridView1.FocusedRowHandle = 0;//这地方是第0行 可以用this.gridView1.FocusedRowHandle+1; this.gridView1.FocusedColumn = this.gridView1.Columns["ID"];//要设置的列 this.gridView1.SelectRow(0);gridview 快捷菜单int[] selectedRows = t 阅读全文