
請問如何讓某一單元格得到焦點?
例如我要點擊一個新增按鈕,DataGridView新增一行,我要怎麼讓新增的一行的第一列得到焦點呢?
__________________________________________________________________________
通过 DataGridView,可以使用以下三个属性方便地检索选定的单元格:SelectedCells、SelectedRows 和 SelectedColumns。
__________________________________________________________________________
DataGridView.CurrentCell = DataGridView.Rows(0).Cells(0)
__________________________________________________________________________