2013-02-07 27 views

回答

3

有一個BeginEdit方法編輯CurrentCell,並選擇它的文本:

// Update CurrentCell to the provided Cell 
// Can be skipped if Cell is actually the CurrentCell 
Cell.DataGridView.CurrentCell = Cell; 

// Change the grid's CurrentCell to edit mode and select text 
Cell.DataGridView.BeginEdit(true); 
+0

完善,工程巨大,謝謝! –